diff --git a/lib/buildFHSEnvOverlay.nix b/lib/buildFHSEnvOverlay.nix index 70c0f70..569b19f 100644 --- a/lib/buildFHSEnvOverlay.nix +++ b/lib/buildFHSEnvOverlay.nix @@ -187,7 +187,7 @@ ldconfig &> /dev/null ${preExecHook} - exec ${runScript} "$@" + exec unshare -c -- ${runScript} "$@" ''; init = writeShellScript "${name}-init" initCmd;