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:
commit
cb7224a8c2
1 changed files with 1 additions and 4 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue