Skip to content

Commit 971aea6

Browse files
committed
Fix nix CI
1 parent dead6a0 commit 971aea6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

default.nix

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
(drv: {
1010
testSystemDepends = (drv.testSystemDepends or []) ++ [ (if postgresql == null then pkgs.postgresql else postgresql) ];
1111
});
12-
gargoyle-postgresql-nix = pkgs.haskell.lib.overrideCabal
13-
(haskellPackages.callCabal2nix "gargoyle-postgresql-nix" ./gargoyle-postgresql-nix {})
14-
(drv: {
15-
librarySystemDepends = (drv.librarySystemDepends or []) ++ [ (if postgresql == null then pkgs.postgresql else postgresql) ];
16-
});
12+
13+
gargoyle-postgresql-nix = haskellPackages.callCabal2nix "gargoyle-postgresql-nix" ./gargoyle-postgresql-nix {
14+
# TODO: libpq will become standalone in https://github.com/NixOS/nixpkgs/pull/359659
15+
libpq = postgresql;
16+
};
17+
1718
gargoyle-postgresql-connect = haskellPackages.callCabal2nix "gargoyle-postgresql-connect" ./gargoyle-postgresql-connect {};
1819
}

0 commit comments

Comments
 (0)