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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
235 B
Nix
Raw Normal View History

2017-10-13 20:35:58 +00:00
let
pkgs = import <nixpkgs> { };
in
pkgs.runCommand "diagnostics-sandbox"
2017-10-13 20:35:58 +00:00
{
__noChroot = true;
}
''
set -x
# no cache: ${toString builtins.currentTime}
test -d "$(dirname "$out")/../var/nix"
touch $out
''