release-lib: add option to use another package set

This commit is contained in:
Nikolay Amiantov 2014-11-07 01:32:17 +03:00
parent c8c7cc1f09
commit aa14fb6389

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;
});