nixpkgs/pkgs/tools/nix/info/relaxedsandbox.nix

13 lines
234 B
Nix
Raw Normal View History

2017-10-13 21:35:58 +01:00
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
''