diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-09-08 21:49:12 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-09-08 21:49:12 +0000 |
commit | 4e5e240770ac2ccecccded59187202137b0c2177 (patch) | |
tree | af92c3d3d5f72e411c156d17b00c3af64e0a0149 /nixos/release.nix | |
parent | c3593f359950f7013b163ed9d41e75fc79d39c3a (diff) |
nixos/release.nix: add `configuration` parameter
Diffstat (limited to 'nixos/release.nix')
-rw-r--r-- | nixos/release.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nixos/release.nix b/nixos/release.nix index 890ef73bb2c43..8032e0a88a837 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -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; |