forked from mirrors/nixpkgs
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:
parent
ab8fd754c6
commit
9240b56a61
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue