From 263e266c2716e7acc94e36c16986e38d19a27e3e Mon Sep 17 00:00:00 2001 From: phaer Date: Tue, 8 Apr 2025 10:25:49 +0200 Subject: [PATCH] nixos/release: drop amazonImageAutomaticSize This was added to test https://github.com/NixOS/nixpkgs/issues/121354 almost 4 years ago, but does not seem to be in actual use anymore. At least I couldn't find a use and @arianvp, the amazon images maintainer does not know about one either. --- nixos/release.nix | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/nixos/release.nix b/nixos/release.nix index 316b66d9bd4e..b7b550fb4721 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -339,32 +339,6 @@ rec { ); - # Test job for https://github.com/NixOS/nixpkgs/issues/121354 to test - # automatic sizing without blocking the channel. - amazonImageAutomaticSize = forMatchingSystems [ "x86_64-linux" "aarch64-linux" ] ( - system: - - with import ./.. { inherit system; }; - - hydraJob ( - (import lib/eval-config.nix { - inherit system; - modules = [ - configuration - versionModule - ./maintainers/scripts/ec2/amazon-image.nix - ( - { ... }: - { - virtualisation.diskSize = "auto"; - } - ) - ]; - }).config.system.build.amazonImage - ) - - ); - # An image that can be imported into incus and used for container creation incusContainerImage = forMatchingSystems