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 {
103103 { nodes , ... } :
104104 let
105105 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 ) ;
106108 in
107109 ''
108110 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" ) ) ) } ],
111113 }
112114
113115 def run_sql(query):
You can’t perform that action at this time.
0 commit comments