forked from mirrors/nixpkgs
Revert "texlive.combine: expose licensing information of combined packages"
This reverts commit fa7428470a
from PR #238456
Evaluation on Hydra.nixos.org was crashing because of this PR merge,
most likely because this computation of licenses for sets like
texlive.combined.scheme-full (thousands of packages) was too expensive.
This commit is contained in:
parent
3def2fb700
commit
205ee073b0
|
@ -17,12 +17,6 @@ let
|
|||
pkgList = rec {
|
||||
combined = combinePkgs (lib.attrValues pkgSet);
|
||||
all = lib.filter pkgFilter combined;
|
||||
licenses = let
|
||||
concatLicenses = lib.foldl (acc: el: if builtins.elem el acc then acc else acc ++ [ el ]);
|
||||
in lib.foldl
|
||||
(acc: pkg:
|
||||
concatLicenses acc (lib.toList (pkg.meta.license or [])))
|
||||
[] all;
|
||||
splitBin = builtins.partition (p: p.tlType == "bin") all;
|
||||
bin = splitBin.right
|
||||
++ lib.optional
|
||||
|
@ -90,7 +84,6 @@ let
|
|||
in (buildEnv {
|
||||
|
||||
inherit name;
|
||||
meta.license = pkgList.licenses;
|
||||
|
||||
ignoreCollisions = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue