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