Skip to content

Commit 6328cde

Browse files
committed
fix(pg_net): pin curl to older nixpkgs version
pg_net requires an older version of curl (pinned from nixpkgs commit a76c4553d7e741e17f289224eda135423de0491d) to resolve build compatibility issues.
1 parent e1c603d commit 6328cde

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

nix/ext/pg_net.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@
33
lib,
44
stdenv,
55
fetchFromGitHub,
6-
curl,
76
postgresql,
87
libuv,
98
makeWrapper,
109
switch-ext-version,
1110
}:
1211

12+
let
13+
olderPkgs = import (fetchTarball {
14+
url = "https://github.com/nixos/nixpkgs/archive/a76c4553d7e741e17f289224eda135423de0491d.tar.gz";
15+
sha256 = "0rwdzp942b8ay625lqgra83qrp64b3wqm6w9a0i4z593df8x822v";
16+
}) { system = stdenv.system; };
17+
curl = olderPkgs.curl;
18+
in
1319
let
1420
pname = "pg_net";
1521
build =

0 commit comments

Comments
 (0)