nixpkgs/pkgs/tools/nix/info/sandbox.nix

11 lines
209 B
Nix
Raw Normal View History

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