From 9240b56a61223da797d9c1b45f7238a98648bbf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Fri, 6 Nov 2009 15:16:47 +0000 Subject: [PATCH] Fixing fonts.alias in the new xorg, and adding a check for the next time they change the fonts.alias path. svn path=/nixpkgs/trunk/; revision=18210 --- pkgs/servers/x11/xorg/overrides.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index 0a48fa6950ea..d05ae933d962 100644 --- a/pkgs/servers/x11/xorg/overrides.nix +++ b/pkgs/servers/x11/xorg/overrides.nix @@ -5,7 +5,9 @@ fontmiscmisc = attrs: attrs // { postInstall = '' - ln -s ${xorg.fontalias}/lib/X11/fonts/misc/fonts.alias $out/lib/X11/fonts/misc/fonts.alias + ALIASFILE=${xorg.fontalias}/share/fonts/X11/misc/fonts.alias + test -f $ALIASFILE + ln -s $ALIASFILE $out/lib/X11/fonts/misc/fonts.alias ''; };