@@ -43,34 +43,14 @@ let
4343
4444
4545 makeIso =
46− { module, type, description ? type, maintainers ? ["eelco"], system }:
46+ { module, type, maintainers ? ["eelco"], system }:
4747
4848 with import nixpkgs { inherit system; };
4949
50− let
51−
52− config = (import lib/eval-config.nix {
53− inherit system;
54− modules = [ module versionModule { isoImage.isoBaseName = "nixos-${type}"; } ];
55− }).config;
56−
57− iso = config.system.build.isoImage;
58−
59− in
60− # Declare the ISO as a build product so that it shows up in Hydra.
61− hydraJob (runCommand "nixos-iso-${config.system.nixosVersion}"
62− { meta = {
63− description = "NixOS installation CD (${description}) - ISO image for ${system}";
64− maintainers = map (x: lib.maintainers.${x}) maintainers;
65− };
66− inherit iso;
67− passthru = { inherit config; };
68− preferLocalBuild = true;
69− }
70− ''
71− mkdir -p $out/nix-support
72− echo "file iso" $iso/iso/*.iso* >> $out/nix-support/hydra-build-products
73− ''); # */
50+ hydraJob ((import lib/eval-config.nix {
51+ inherit system;
52+ modules = [ module versionModule { isoImage.isoBaseName = "nixos-${type}"; } ];
53+ }).config.system.build.isoImage);
7454
7555
7656 makeSystemTarball =