Skip to content

Commit 0a59a23

Browse files
committed
chore: try to build and cache deps so that nix does not try to fetch on install
1 parent 66a3c9f commit 0a59a23

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nix/ext/wrappers/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ buildPgrxExtension_0_12_6 rec {
5252

5353
cargoLock = {
5454
lockFile = "${src}/Cargo.lock";
55-
allowBuiltinFetchGit = true;
55+
allowBuiltinFetchGit = false;
5656
};
5757

5858
buildAndTestSubdir = "wrappers";
@@ -74,6 +74,7 @@ buildPgrxExtension_0_12_6 rec {
7474
doCheck = false;
7575

7676
preBuild = ''
77+
${cargo}/bin/cargo vendor
7778
echo "Processing git tags..."
7879
echo '${builtins.concatStringsSep "," previousVersions}' | sed 's/,/\n/g' > git_tags.txt
7980
'';

0 commit comments

Comments
 (0)