diff options
author | Vincenzo Mantova <1962985+xworld21@users.noreply.github.com> | 2024-03-07 00:05:02 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-06 19:05:02 -0500 |
commit | b4210fae558ab876e98b9f255b93223cd6184c58 (patch) | |
tree | 9991f0ea410a194323375f2299ad50291531cee3 /pkgs/tools/typesetting/tex/texlive | |
parent | f32e786e98f0dc9cbf46a47f8cf79a9c57f6b777 (diff) | |
download | nixlib-b4210fae558ab876e98b9f255b93223cd6184c58.tar nixlib-b4210fae558ab876e98b9f255b93223cd6184c58.tar.gz nixlib-b4210fae558ab876e98b9f255b93223cd6184c58.tar.bz2 nixlib-b4210fae558ab876e98b9f255b93223cd6184c58.tar.lz nixlib-b4210fae558ab876e98b9f255b93223cd6184c58.tar.xz nixlib-b4210fae558ab876e98b9f255b93223cd6184c58.tar.zst nixlib-b4210fae558ab876e98b9f255b93223cd6184c58.zip |
texlive.withPackages: build all outputs (#289756)
Diffstat (limited to 'pkgs/tools/typesetting/tex/texlive')
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/build-tex-env.nix | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix b/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix index 9a721168591f..85be581a3066 100644 --- a/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix +++ b/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix @@ -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) |