release-lib: add option to use another package set
commitaa14fb638994bb9dac6437e849b6c93f0353c2f7
authorNikolay Amiantov <ab@fmap.me>
dateFri 7 Nov 2014, 01:32 (12 years ago)
parentc8c7cc1
pkgs/top-level/release-lib.nix+2−2
@@ -1,9 +1,9 @@
1−{ supportedSystems }:
1+{ supportedSystems, packageSet ? (import ./all-packages.nix) }:
22
33rec {
44
55 # Ensure that we don't build packages marked as unfree.
6− allPackages = args: import ./all-packages.nix (args // {
6+ allPackages = args: packageSet (args // {
77 config.allowUnfree = false;
88 });
99