Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 callPackage,
3 makeSetupHook,
4 stdenv,
5}:
6
7makeSetupHook {
8 name = "postgresql-test-hook";
9 passthru.tests = {
10 simple = callPackage ./test.nix { };
11 };
12 # See comment in postgresql's generic.nix doInstallCheck section.
13 meta.broken = stdenv.hostPlatform.isDarwin;
14} ./postgresql-test-hook.sh