installShellFiles: Add test suite
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
{ makeSetupHook }:
|
||||
{ makeSetupHook, tests }:
|
||||
|
||||
# See the header comment in ../setup-hooks/install-shell-files.sh for example usage.
|
||||
makeSetupHook { name = "install-shell-files"; } ../setup-hooks/install-shell-files.sh
|
||||
let
|
||||
setupHook = makeSetupHook { name = "install-shell-files"; } ../setup-hooks/install-shell-files.sh;
|
||||
in
|
||||
|
||||
setupHook.overrideAttrs (oldAttrs: {
|
||||
passthru = (oldAttrs.passthru or {}) // {
|
||||
tests = tests.install-shell-files;
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user