diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-11-06 15:16:47 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-11-06 15:16:47 +0000 |
commit | 9240b56a61223da797d9c1b45f7238a98648bbf3 (patch) | |
tree | 53ccf6b0cdbb9db94bfde571f38282b856ef1575 /pkgs/servers/x11/xorg | |
parent | ab8fd754c6d4d40364581367e37cc5657c52d17a (diff) |
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
Diffstat (limited to 'pkgs/servers/x11/xorg')
-rw-r--r-- | pkgs/servers/x11/xorg/overrides.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index 0a48fa6950ea9..d05ae933d962d 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 ''; }; |