summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-10-18 13:50:19 +0200
committerVladimír Čunát <vcunat@gmail.com>2014-10-18 13:52:37 +0200
commitb5ea865f35bd460fb8fde8a75a1276efc8b552de (patch)
tree77722e8bd05d5583d9edc5fe9be8ad1a85a07258
parent09dc132e04c8a69581becb56a1c5e1bfee3aef7e (diff)
downloadnixpkgs-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar
nixpkgs-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar.gz
nixpkgs-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar.bz2
nixpkgs-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar.lz
nixpkgs-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar.xz
nixpkgs-b5ea865f35bd460fb8fde8a75a1276efc8b552de.tar.zst
nixpkgs-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?
-rw-r--r--pkgs/tools/typesetting/tex/texlive/aggregate.nix4
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 e001a36cab0..d19ff39e2a4 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"