release-lib: add option to use another package set

This commit is contained in:
Nikolay Amiantov
2014-11-14 00:34:51 +03:00
parent c8c7cc1f09
commit aa14fb6389
+2 -2
View File
@@ -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;
});