font-bh{,-lucidatypewriter}-{100,75}dpi: move font from $out/lib to $out/share
also fixes the paths in xdummy to point to the new font locations
This commit is contained in:
@@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
buildInputs = [ font-util ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/share/fonts/X11" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
buildInputs = [ font-util ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/share/fonts/X11" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
buildInputs = [ font-util ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/share/fonts/X11" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
buildInputs = [ font-util ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/share/fonts/X11" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
|
||||
@@ -34,9 +34,9 @@ let
|
||||
FontPath "${xorg.fontmiscmisc}/lib/X11/fonts/misc"
|
||||
FontPath "${xorg.fontcursormisc}/lib/X11/fonts/misc"
|
||||
${lib.optionalString unfreeFonts ''
|
||||
FontPath "${xorg.fontbhlucidatypewriter75dpi}/lib/X11/fonts/75dpi"
|
||||
FontPath "${xorg.fontbhlucidatypewriter100dpi}/lib/X11/fonts/100dpi"
|
||||
FontPath "${xorg.fontbh100dpi}/lib/X11/fonts/100dpi"
|
||||
FontPath "${xorg.fontbhlucidatypewriter75dpi}/share/fonts/X11/75dpi"
|
||||
FontPath "${xorg.fontbhlucidatypewriter100dpi}/share/fonts/X11/100dpi"
|
||||
FontPath "${xorg.fontbh100dpi}/share/fonts/X11/100dpi"
|
||||
''}
|
||||
EndSection
|
||||
|
||||
|
||||
Reference in New Issue
Block a user