Skip to content

Commit 1573b21

Browse files
committed
fix: we can build and cache clickouse-rs this way so as to not fetch it
1 parent 0a59a23 commit 1573b21

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nix/ext/wrappers/default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ buildPgrxExtension_0_12_6 rec {
5353
cargoLock = {
5454
lockFile = "${src}/Cargo.lock";
5555
allowBuiltinFetchGit = false;
56+
outputHashes = {
57+
"clickhouse-rs-1.1.0-alpha.1" = "sha256-G+v4lNP5eK2U45D1fL90Dq24pUSlpIysNCxuZ17eac0=";
58+
};
5659
};
5760

5861
buildAndTestSubdir = "wrappers";
@@ -74,7 +77,6 @@ buildPgrxExtension_0_12_6 rec {
7477
doCheck = false;
7578

7679
preBuild = ''
77-
${cargo}/bin/cargo vendor
7880
echo "Processing git tags..."
7981
echo '${builtins.concatStringsSep "," previousVersions}' | sed 's/,/\n/g' > git_tags.txt
8082
'';

0 commit comments

Comments
 (0)