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

10 lines
196 B
Nix
Raw Normal View History

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