nixpkgs/pkgs/tools/nix/info/relaxedsandbox.nix
Graham Christensen d9d2c4a4a9
nix-info: init
2017-10-14 22:01:23 -04:00

13 lines
234 B
Nix

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
''