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

11 lines
209 B
Nix

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