Skip to content

Commit 387e43a

Browse files
committed
add aarch64-linux to ext tests as it should be supported by test vm and update http tests
1 parent a8dc209 commit 387e43a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

nix/checks.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
postgresql_17_src
355355
;
356356
}
357-
// pkgs.lib.optionalAttrs (system == "x86_64-linux") (
357+
// pkgs.lib.optionalAttrs (system == "x86_64-linux" || system == "aarch64-linux") (
358358
{
359359
devShell = self'.devShells.default;
360360
}

nix/ext/tests/http.nix

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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):

0 commit comments

Comments
 (0)