diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2014-10-18 13:50:19 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2014-10-18 13:52:37 +0200 |
commit | b5ea865f35bd460fb8fde8a75a1276efc8b552de (patch) | |
tree | 77722e8bd05d5583d9edc5fe9be8ad1a85a07258 /pkgs/tools/typesetting/tex/texlive | |
parent | 09dc132e04c8a69581becb56a1c5e1bfee3aef7e (diff) | |
download | nixlib-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar nixlib-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar.gz nixlib-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar.bz2 nixlib-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar.lz nixlib-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar.xz nixlib-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar.zst nixlib-b5ea865f35bd460fb8fde8a75a1276efc8b552de.zip |
texLive-linkdir: work around a failure
It often failed since 3c6efec2c09, i.e. #4453. Now it should "work" the same as before. CC @7c6f434c, maybe?
Diffstat (limited to 'pkgs/tools/typesetting/tex/texlive')
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/aggregate.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/aggregate.nix b/pkgs/tools/typesetting/tex/texlive/aggregate.nix index e001a36cab03..d19ff39e2a48 100644 --- a/pkgs/tools/typesetting/tex/texlive/aggregate.nix +++ b/pkgs/tools/typesetting/tex/texlive/aggregate.nix @@ -9,13 +9,15 @@ rec { phaseNames = [ "doAggregate" ]; doAggregate = fullDepEntry ('' + set +o pipefail + mkdir -p $out/bin for currentPath in ${lib.concatStringsSep " " buildInputs}; do echo Symlinking "$currentPath" find $currentPath/share/info $currentPath/share/man $(echo $currentPath/texmf*/) -type d | while read; do REPLY="''${REPLY#$currentPath}" mkdir -p $out/"$REPLY" - done + done find $currentPath/share/info $currentPath/share/man $(echo $currentPath/texmf*/) ! -type d | while read; do REPLY="''${REPLY#$currentPath}" ln -fs $currentPath/"$REPLY" $out/"$REPLY" |