From aa14fb638994bb9dac6437e849b6c93f0353c2f7 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Fri, 7 Nov 2014 01:32:17 +0300 Subject: [PATCH] release-lib: add option to use another package set --- pkgs/top-level/release-lib.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/release-lib.nix b/pkgs/top-level/release-lib.nix index 0a8e7165d663..cc27693ab2be 100644 --- a/pkgs/top-level/release-lib.nix +++ b/pkgs/top-level/release-lib.nix @@ -1,9 +1,9 @@ -{ supportedSystems }: +{ supportedSystems, packageSet ? (import ./all-packages.nix) }: rec { # Ensure that we don't build packages marked as unfree. - allPackages = args: import ./all-packages.nix (args // { + allPackages = args: packageSet (args // { config.allowUnfree = false; });