File tree Expand file tree Collapse file tree 4 files changed +5
-19
lines changed
Expand file tree Collapse file tree 4 files changed +5
-19
lines changed Original file line number Diff line number Diff line change 66 rust-bin ,
77} :
88let
9- inherit
10- (
11- ( callPackage ./default.nix {
12- inherit rustVersion ;
13- } )
14- )
15- mkCargoPgrx
16- ;
9+ inherit ( ( callPackage ./default.nix { inherit rustVersion ; } ) ) mkCargoPgrx ;
1710
1811 rustPlatform = makeRustPlatform {
1912 cargo = rust-bin . stable . ${ rustVersion } . default ;
Original file line number Diff line number Diff line change 2222 let
2323 # Create a testing harness for a PostgreSQL package. This is used for
2424 # 'nix flake check', and works with any PostgreSQL package you hand it.
25+ # deadnix: skip
2526 makeCheckHarness =
2627 pgpkg :
2728 let
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ self.inputs.nixpkgs.lib.nixos.runTest {
101101 requires = [ "postgresql-migrate.service" ] ;
102102 } ;
103103 } ;
104-
105104 } ;
106105 testScript =
107106 { nodes , ... } :
Original file line number Diff line number Diff line change 6666 lockFile = "${ src } /Cargo.lock" ;
6767 outputHashes =
6868 if builtins . compareVersions "0.4.2" version >= 0 then
69- {
70- "clickhouse-rs-1.0.0-alpha.1" = "sha256-0zmoUo/GLyCKDLkpBsnLAyGs1xz6cubJhn+eVqMEMaw=" ;
71- }
69+ { "clickhouse-rs-1.0.0-alpha.1" = "sha256-0zmoUo/GLyCKDLkpBsnLAyGs1xz6cubJhn+eVqMEMaw=" ; }
7270 else if builtins . compareVersions "0.5.0" version >= 0 then
73- {
74- "clickhouse-rs-1.1.0-alpha.1" = "sha256-G+v4lNP5eK2U45D1fL90Dq24pUSlpIysNCxuZ17eac0=" ;
75- }
71+ { "clickhouse-rs-1.1.0-alpha.1" = "sha256-G+v4lNP5eK2U45D1fL90Dq24pUSlpIysNCxuZ17eac0=" ; }
7672 else if builtins . compareVersions "0.5.2" version == 0 then
7773 {
7874 "clickhouse-rs-1.1.0-alpha.1" = "sha256-nKiGzdsAgJej8NgyVOqHaD1sZLrNF1RPfEhu2pRwZ6o=" ;
159155 } ;
160156 }
161157 // lib . optionalAttrs ( version == "0.3.0" ) {
162- patches = [
163- ./0001-bump-pgrx-to-0.11.3.patch
164- ] ;
158+ patches = [ ./0001-bump-pgrx-to-0.11.3.patch ] ;
165159
166160 cargoLock = {
167161 lockFile = ./Cargo.lock-0.3.0 ;
181175 packages = builtins . attrValues (
182176 lib . mapAttrs ( name : value : build name value . hash value . rust value . pgrx ) supportedVersions
183177 ) ;
184-
185178in
186179buildEnv {
187180 name = pname ;
You can’t perform that action at this time.
0 commit comments