1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

Merge pull request #10676 from edolstra/require-docker-images

Die rather than warn if a Docker image is missing
This commit is contained in:
Eelco Dolstra 2024-05-10 11:55:46 +02:00 committed by GitHub
commit cb7224a8c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,10 +189,7 @@ for my $platforms (["x86_64-linux", "amd64"], ["aarch64-linux", "arm64"]) {
eval { eval {
downloadFile("dockerImage.$system", "1", $fn); downloadFile("dockerImage.$system", "1", $fn);
}; };
if ($@) { die "$@" if $@;
warn "$@" if $@;
next;
}
$haveDocker = 1; $haveDocker = 1;
print STDERR "loading docker image for $dockerPlatform...\n"; print STDERR "loading docker image for $dockerPlatform...\n";