release*: Support nixpkgsArgs for all release-*.nix files

This is a bit dirty because there's no easy way to propagate these
function arguments while still allowing --arg from the command line
This commit is contained in:
Silvan Mosberger
2020-09-11 18:20:35 +02:00
parent c413f10daf
commit c1e96ff74f
3 changed files with 9 additions and 3 deletions

View File

@@ -5,9 +5,11 @@
{ # The platforms for which we build Nixpkgs.
supportedSystems ? [ "x86_64-linux" ]
, # Attributes passed to nixpkgs. Don't build packages marked as unfree.
nixpkgsArgs ? { config = { allowUnfree = false; inHydra = true; }; }
}:
with import ./release-lib.nix {inherit supportedSystems; };
with import ./release-lib.nix {inherit supportedSystems nixpkgsArgs; };
with lib;
let