texlive/combine.nix: drop nix1 support (#47294)
Since 7d1968c0e3
('Nix minimal version: 1.11 -> 2.0') nixpkgs now require nix 2.0+
This commit is contained in:
parent
a12787e61a
commit
256af6d039
@ -12,11 +12,9 @@ let
|
||||
(bin.core.doc // { pname = "core"; tlType = "doc"; })
|
||||
];
|
||||
};
|
||||
partition = builtins.partition or (pred: l:
|
||||
{ right = builtins.filter pred l; wrong = builtins.filter (e: !(pred e)) l; });
|
||||
pkgList = rec {
|
||||
all = lib.filter pkgFilter (combinePkgs pkgSet);
|
||||
splitBin = partition (p: p.tlType == "bin") all;
|
||||
splitBin = builtins.partition (p: p.tlType == "bin") all;
|
||||
bin = mkUniquePkgs splitBin.right
|
||||
++ lib.optional
|
||||
(lib.any (p: p.tlType == "run" && p.pname == "pdfcrop") splitBin.wrong)
|
||||
|
Loading…
Reference in New Issue
Block a user