texlive.withPackages: build all outputs (#289756)
This commit is contained in:
parent
f32e786e98
commit
b4210fae55
@ -188,7 +188,6 @@ let
|
||||
|
||||
passthru = lib.optionalAttrs (! __combine) (splitOutputs // {
|
||||
all = builtins.attrValues splitOutputs;
|
||||
outputs = [ "out" ] ++ pkgList.nonEnvOutputs;
|
||||
}) // {
|
||||
# This is set primarily to help find-tarballs.nix to do its job
|
||||
requiredTeXPackages = builtins.filter lib.isDerivation (pkgList.bin ++ pkgList.nonbin
|
||||
@ -440,14 +439,11 @@ let
|
||||
;
|
||||
}).overrideAttrs (prev:
|
||||
{ allowSubstitutes = true; }
|
||||
# the outputsToInstall must be built by the main derivation for nix-profile-install to work
|
||||
// lib.optionalAttrs (! __combine) ({
|
||||
outputs = pkgList.outputsToInstall;
|
||||
outputs = [ "out" ] ++ pkgList.nonEnvOutputs;
|
||||
meta = prev.meta // { inherit (pkgList) outputsToInstall; };
|
||||
} // (lib.mapAttrs'
|
||||
(out: drv: { name = "otherOutput_" + out; value = drv; })
|
||||
(lib.getAttrs (builtins.tail pkgList.outputsToInstall) splitOutputs)
|
||||
)
|
||||
} // builtins.listToAttrs
|
||||
(map (out: { name = "otherOutput_" + out; value = splitOutputs.${out}; }) pkgList.nonEnvOutputs)
|
||||
)
|
||||
);
|
||||
in out)
|
||||
|
Loading…
Reference in New Issue
Block a user