From b79a8de38f9e3d2e48b3acb0e0264f1594f2fd60 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Fri, 5 Mar 2021 22:43:36 +0100 Subject: pkgs/profpatsch/sandbox: fix the env call --- pkgs/profpatsch/sandbox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/profpatsch') 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 -- cgit 1.4.1