mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
17 lines
304 B
Nix
17 lines
304 B
Nix
{
|
|
lib,
|
|
callPackage,
|
|
makeSetupHook,
|
|
}:
|
|
|
|
# See the header comment in ./setup-hook.sh for example usage.
|
|
makeSetupHook {
|
|
name = "install-shell-files";
|
|
passthru = {
|
|
tests = lib.packagesFromDirectoryRecursive {
|
|
inherit callPackage;
|
|
directory = ./tests;
|
|
};
|
|
};
|
|
} ./setup-hook.sh
|