about summary refs log tree commit diff
path: root/pkgs/profpatsch/sandbox.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2021-03-05 22:43:36 +0100
committerProfpatsch <mail@profpatsch.de>2021-03-05 22:56:29 +0100
commitb79a8de38f9e3d2e48b3acb0e0264f1594f2fd60 (patch)
tree207517f2c0163f1f121cad5fe6e8ab7300bc248e /pkgs/profpatsch/sandbox.nix
parentbe43605785732a92fba1f95e3337fa1f60f6f124 (diff)
pkgs/profpatsch/sandbox: fix the env call
Diffstat (limited to 'pkgs/profpatsch/sandbox.nix')
-rw-r--r--pkgs/profpatsch/sandbox.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/profpatsch/sandbox.nix b/pkgs/profpatsch/sandbox.nix
index 733cd956..a89f5e59 100644
--- a/pkgs/profpatsch/sandbox.nix
+++ b/pkgs/profpatsch/sandbox.nix
@@ -9,7 +9,7 @@ let
         # we have to explicitely call export here, because PATH is probably empty
         export = pkgs.lib.concatMap (var: [ "${pkgs.execline}/bin/export" var ''''${${var}}'' ]) keepVars;
     in writeExecline "empty-env" {}
-         (importas ++ [ "emptyenv" ] ++ export ++ [ "${pkgs.execline}/bin/exec" "$@" ]);
+         (importas ++ [ "env" ] ++ export ++ [ "${pkgs.execline}/bin/exec" "$@" ]);
 
 
   # lightweight sandbox; execute any command in an unshared