Unverified Commit bffc22eb authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

iso-image: include release and system info in iso filenames again (#372127)

parents bcb86e4c 0b162c3d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -870,6 +870,7 @@ in
    # Create the ISO image.
    image.extension = if config.isoImage.compressImage then "iso.zst" else "iso";
    image.filePath = "iso/${config.image.fileName}";
    image.baseName = "nixos${lib.optionalString (config.isoImage.edition != "") "-${config.isoImage.edition}" }-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}";
    system.build.image = config.system.build.isoImage;
    system.build.isoImage = pkgs.callPackage ../../../lib/make-iso9660-image.nix ({
      inherit (config.isoImage) compressImage volumeID contents;
+1 −3
Original line number Diff line number Diff line
@@ -61,9 +61,7 @@ let

    hydraJob ((import lib/eval-config.nix {
      inherit system;
      modules = makeModules module {
        image.baseName = "nixos-${type}";
      };
      modules = makeModules module { };
    }).config.system.build.isoImage);