Unverified Commit 34857ed1 authored by Ilan Joselevich's avatar Ilan Joselevich Committed by GitHub
Browse files

nixos/amazon-ec2-amis: remove (#392076)

parents ad1401c0 12c098f0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -33,6 +33,10 @@
  It should generally be replaced with `rustPlatform.fetchCargoVendor`, but `rustPlatform.importCargoLock` may also be appropriate in some circumstances.
  `rustPlatform.buildRustPackage` users must set `useFetchCargoVendor` to `true` and regenerate the `cargoHash`.

- The `nixos/modules/virtualisation/amazon-ec2-amis.nix` file is not supported anymore since 24.05. It will throw
  and error starting 25.05 with instructions the following instructions:
  The canonical source for NixOS AMIs is the AWS API. Please see https://nixos.org/download/#nixos-amazon or  https://nixos.github.io/amis/ for instructions.

- NetBox was updated to `>= 4.2.0`. Have a look at the breaking changes
  of the [4.1 release](https://github.com/netbox-community/netbox/releases/tag/v4.1.0)
  and the [4.2 release](https://github.com/netbox-community/netbox/releases/tag/v4.2.0),
+5 −654

File changed.

Preview size limit exceeded, changes collapsed.

+5 −9
Original line number Diff line number Diff line
# Compatibility shim
let
  lib = import ../../../lib;
  inherit (lib) mapAttrs;
  everything = import ./amazon-ec2-amis.nix;
  doAllVersions = mapAttrs (versionName: doRegion);
  doRegion = mapAttrs (regionName: systems: systems.x86_64-linux);
in
doAllVersions everything
throw ''
  This file is not the source for amazon AMIs anymore since 24.05.
  The canonical source for NixOS AMIs is the AWS API. Please see
  https://nixos.org/download/#nixos-amazon or https://nixos.github.io/amis/ for instructions
''