File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -103,11 +103,13 @@ self.inputs.nixpkgs.lib.nixos.runTest {
103
103
{ nodes , ... } :
104
104
let
105
105
pg17-configuration = "${ nodes . server . system . build . toplevel } /specialisation/postgresql17" ;
106
+ # Convert versions to major.minor format (e.g., "1.5.0" -> "1.5")
107
+ toMajorMinor = map ( v : lib . versions . majorMinor v ) ;
106
108
in
107
109
''
108
110
versions = {
109
- "15": [${ lib . concatStringsSep ", " ( map ( s : ''"${ s } "'' ) ( versions "15" ) ) } ],
110
- "17": [${ lib . concatStringsSep ", " ( map ( s : ''"${ s } "'' ) ( versions "17" ) ) } ],
111
+ "15": [${ lib . concatStringsSep ", " ( map ( s : ''"${ s } "'' ) ( toMajorMinor ( versions "15" ) ) ) } ],
112
+ "17": [${ lib . concatStringsSep ", " ( map ( s : ''"${ s } "'' ) ( toMajorMinor ( versions "17" ) ) ) } ],
111
113
}
112
114
113
115
def run_sql(query):
You can’t perform that action at this time.
0 commit comments