mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
texLive-linkdir: work around a failure
It often failed since 3c6efec2c0
, i.e. #4453.
Now it should "work" the same as before.
CC @7c6f434c, maybe?
This commit is contained in:
parent
09dc132e04
commit
b5ea865f35
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue