1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

nixos/release.nix: add configuration parameter

This commit is contained in:
Jan Malakhovski 2018-09-08 21:49:12 +00:00
parent c3593f3599
commit 4e5e240770

View file

@ -3,6 +3,7 @@ with import ../lib;
{ nixpkgs ? { outPath = cleanSource ./..; revCount = 130979; shortRev = "gfedcba"; }
, stableBranch ? false
, supportedSystems ? [ "x86_64-linux" "aarch64-linux" ]
, configuration ? {}
}:
with import ../pkgs/top-level/release-lib.nix { inherit supportedSystems; };
@ -52,7 +53,7 @@ let
hydraJob ((import lib/eval-config.nix {
inherit system;
modules = [ module versionModule { isoImage.isoBaseName = "nixos-${type}"; } ];
modules = [ configuration module versionModule { isoImage.isoBaseName = "nixos-${type}"; } ];
}).config.system.build.isoImage);
@ -63,7 +64,7 @@ let
hydraJob ((import lib/eval-config.nix {
inherit system;
modules = [ module versionModule ];
modules = [ configuration module versionModule ];
}).config.system.build.sdImage);
@ -76,7 +77,7 @@ let
config = (import lib/eval-config.nix {
inherit system;
modules = [ module versionModule ];
modules = [ configuration module versionModule ];
}).config;
tarball = config.system.build.tarball;