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
This commit is contained in:
Lluís Batlle i Rossell 2009-11-06 15:16:47 +00:00
parent ab8fd754c6
commit 9240b56a61

View File

@ -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
'';
};