mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03: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
@ -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 New Issue
Block a user