Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 callPackage, 4 makeSetupHook, 5}: 6 7# See the header comment in ./setup-hook.sh for example usage. 8makeSetupHook { 9 name = "install-shell-files"; 10 passthru = { 11 tests = lib.packagesFromDirectoryRecursive { 12 inherit callPackage; 13 directory = ./tests; 14 }; 15 }; 16} ./setup-hook.sh