diff options
author | Graham Christensen <graham@grahamc.com> | 2017-10-13 16:35:58 -0400 |
---|---|---|
committer | Graham Christensen <graham@grahamc.com> | 2017-10-14 22:01:23 -0400 |
commit | d9d2c4a4a9a103290c61eca3b393c8d1fc054c63 (patch) | |
tree | cb87690b4cceba8096da2bc10de8e9907a89753f /pkgs/tools/nix/info/relaxedsandbox.nix | |
parent | 534060e608289fdd69b9c01310578a35e36b79e6 (diff) | |
download | nixlib-d9d2c4a4a9a103290c61eca3b393c8d1fc054c63.tar nixlib-d9d2c4a4a9a103290c61eca3b393c8d1fc054c63.tar.gz nixlib-d9d2c4a4a9a103290c61eca3b393c8d1fc054c63.tar.bz2 nixlib-d9d2c4a4a9a103290c61eca3b393c8d1fc054c63.tar.lz nixlib-d9d2c4a4a9a103290c61eca3b393c8d1fc054c63.tar.xz nixlib-d9d2c4a4a9a103290c61eca3b393c8d1fc054c63.tar.zst nixlib-d9d2c4a4a9a103290c61eca3b393c8d1fc054c63.zip |
nix-info: init
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 + '' |