diff options
Diffstat (limited to 'pkgs/tools/nix/info/relaxedsandbox.nix')
-rw-r--r-- | pkgs/tools/nix/info/relaxedsandbox.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/tools/nix/info/relaxedsandbox.nix b/pkgs/tools/nix/info/relaxedsandbox.nix new file mode 100644 index 000000000000..625a6ecc39e0 --- /dev/null +++ b/pkgs/tools/nix/info/relaxedsandbox.nix @@ -0,0 +1,12 @@ +let + pkgs = import <nixpkgs> {}; +in pkgs.runCommand "diagnostics-sandbox" + { + __noChroot = true; + } + '' + set -x + # no cache: ${toString builtins.currentTime} + test -d "$(dirname "$out")/../var/nix" + touch $out + '' |