File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 lib ,
33 stdenv ,
44 callPackages ,
5- fetchFromGitHub ,
65 postgresql ,
76 rust-bin ,
87} :
1716 inherit rustVersion pgrxVersion ;
1817 } ;
1918
20- src = fetchFromGitHub {
21- owner = "KBVE" ;
22- repo = "kbve" ;
19+ src = builtins . fetchGit {
20+ url = "https://github.com/KBVE/kbve.git" ;
2321 rev = "c686ba886f9fd8b87ed9b049264f8602a70706e4" ;
24- # Run `nix build` once to get the correct hash from the error output
25- hash = lib . fakeHash ;
22+ shallow = true ;
2623 } ;
2724in
2825mkPgrxExtension {
@@ -40,9 +37,11 @@ mkPgrxExtension {
4037
4138 cargoLock = {
4239 lockFile = "${ src } /Cargo.lock" ;
43- allowBuiltinFetchGit = false ;
40+ allowBuiltinFetchGit = true ;
4441 } ;
4542
43+ buildFeatures = [ "pg17" ] ;
44+
4645 CARGO = "${ cargo } /bin/cargo" ;
4746
4847 env = lib . optionalAttrs stdenv . isDarwin {
@@ -51,6 +50,7 @@ mkPgrxExtension {
5150 } ;
5251
5352 doCheck = false ;
53+ auditable = false ;
5454
5555 meta = with lib ; {
5656 description = "Kilobase PostgreSQL extension" ;
You can’t perform that action at this time.
0 commit comments