1{ callPackage, makeSetupHook }: 2 3makeSetupHook { 4 name = "postgresql-test-hook"; 5 passthru.tests = { 6 simple = callPackage ./test.nix { }; 7 }; 8} ./postgresql-test-hook.sh