Unverified Commit 205ee073 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

Revert "texlive.combine: expose licensing information of combined packages"

This reverts commit fa742847 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.
parent 3def2fb7
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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;