From 77f296ec593b4e07b5bd3b50f15d48a0c65c0d77 Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Tue, 25 Apr 2023 19:18:14 -0400 Subject: [PATCH] xquartz: Copy fonts to avoid ELOOP --- pkgs/servers/x11/xquartz/system-fonts.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/x11/xquartz/system-fonts.nix b/pkgs/servers/x11/xquartz/system-fonts.nix index db47f8afe015..13670978ec0b 100644 --- a/pkgs/servers/x11/xquartz/system-fonts.nix +++ b/pkgs/servers/x11/xquartz/system-fonts.nix @@ -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/