Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 13 lines 235 B view raw
1let 2 pkgs = import <nixpkgs> { }; 3in 4pkgs.runCommand "diagnostics-sandbox" 5 { 6 __noChroot = true; 7 } 8 '' 9 set -x 10 # no cache: ${toString builtins.currentTime} 11 test -d "$(dirname "$out")/../var/nix" 12 touch $out 13 ''