mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
18 lines
339 B
Nix
18 lines
339 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;
|
|
};
|
|
};
|
|
meta.license = lib.licenses.mit;
|
|
} ./setup-hook.sh
|