diff options
Diffstat (limited to 'nixos/tests/docker-tools.nix')
-rw-r--r-- | nixos/tests/docker-tools.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/tests/docker-tools.nix b/nixos/tests/docker-tools.nix index a20a08fc90db..8e0e82d64cc7 100644 --- a/nixos/tests/docker-tools.nix +++ b/nixos/tests/docker-tools.nix @@ -237,14 +237,14 @@ import ./make-test-python.nix ({ pkgs, ... }: { with subtest("Ensure cross compiled image can be loaded and has correct arch."): docker.succeed( - "docker load --input='${pkgs.dockerTools.examples.cross-aarch64}'", + "docker load --input='${pkgs.dockerTools.examples.cross}'", ) assert ( docker.succeed( - "docker inspect ${pkgs.dockerTools.examples.cross-aarch64.imageName} " + "docker inspect ${pkgs.dockerTools.examples.cross.imageName} " + "| ${pkgs.jq}/bin/jq -r .[].Architecture" ).strip() - == "arm64v8" + == "${if pkgs.system == "aarch64-linux" then "amd64" else "arm64v8"}" ) ''; }) |