diff options
Diffstat (limited to 'pkgs/games/build-support/build-sandbox/default.nix')
-rw-r--r-- | pkgs/games/build-support/build-sandbox/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/games/build-support/build-sandbox/default.nix b/pkgs/games/build-support/build-sandbox/default.nix index 3bb41093..337456e0 100644 --- a/pkgs/games/build-support/build-sandbox/default.nix +++ b/pkgs/games/build-support/build-sandbox/default.nix @@ -30,7 +30,8 @@ stdenv.mkDerivation ({ bcdown ' ../sandbox-closure | sort -u)" - echo 'static bool setup_app_paths(void) {' > params.c + echo '#include "setup.h"' > params.c + echo 'bool setup_app_paths(void) {' >> params.c for dep in $runtimeDeps; do echo 'if (!bind_mount("'"$dep"'", true, true)) return false;' >> params.c |