xquartz: Copy fonts to avoid ELOOP

This commit is contained in:
Quentin Smith 2023-04-25 19:18:14 -04:00
parent d2cd23b9de
commit 77f296ec59
No known key found for this signature in database
GPG key ID: 04EE05A8FCEFB697

View file

@ -22,7 +22,7 @@ stdenv.mkDerivation {
find $fontDirs -type f -o -type l | while read i; do
j="''${i##*/}"
if ! test -e "$out/share/X11-fonts/''${j}"; then
ln -s "$i" "$out/share/X11-fonts/''${j}";
cp "$i" "$out/share/X11-fonts/''${j}";
fi;
done;
cd $out/share/X11-fonts/