diff options
author | Luke Granger-Brown <git@lukegb.com> | 2021-05-01 02:19:42 +0000 |
---|---|---|
committer | Luke Granger-Brown <git@lukegb.com> | 2021-05-01 02:19:42 +0000 |
commit | 87c3b7e767b18492fa8b3641b9c5d14dd2f38a8c (patch) | |
tree | 57aec15cc713e217edc921f56c41c55451e92470 /nixos/maintainers | |
parent | f476258fdf77f424b266792debe9bfd7ca22df03 (diff) |
amazonImage: make statically sized again
For reasons we haven't been able to work out, the aarch64 EC2 image now
regularly exceeds the output image size on hydra.nixos.org. As a
workaround, set this back to being statically sized again.
The other images do seem to build - it's just a case of the EC2 image
now being too large (occasionally non-determinstically).
Diffstat (limited to 'nixos/maintainers')
-rw-r--r-- | nixos/maintainers/scripts/ec2/amazon-image.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/maintainers/scripts/ec2/amazon-image.nix b/nixos/maintainers/scripts/ec2/amazon-image.nix index 653744986d13..677aff4421e0 100644 --- a/nixos/maintainers/scripts/ec2/amazon-image.nix +++ b/nixos/maintainers/scripts/ec2/amazon-image.nix @@ -41,7 +41,7 @@ in { sizeMB = mkOption { type = with types; either (enum [ "auto" ]) int; - default = "auto"; + default = if config.ec2.hvm then 2048 else 8192; example = 8192; description = "The size in MB of the image"; }; |