font-{{arabic,cursor,daewoo,dec,jis,misc}-misc,ibm-type1,misc-meltho}: move font output to $out/share/fonts/X11
i have no idea why the fonts were in $out/lib/X11/fonts
this also changes the location of font-{cursor,misc}-misc in xdummy
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
fontutil,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
@@ -20,15 +18,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
buildInputs = [ fontutil ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
fontutil,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
@@ -24,10 +22,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
buildInputs = [ fontutil ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
fontutil,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
@@ -20,15 +18,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
buildInputs = [ fontutil ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
fontutil,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
@@ -20,15 +18,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
buildInputs = [ fontutil ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
fontutil,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
}:
|
||||
@@ -18,14 +16,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
buildInputs = [ fontutil ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
nativeBuildInputs = [ mkfontscale ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
fontutil,
|
||||
bdftopcf,
|
||||
mkfontscale,
|
||||
writeScript,
|
||||
@@ -20,15 +18,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
strictDeps = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
bdftopcf
|
||||
mkfontscale
|
||||
];
|
||||
|
||||
buildInputs = [ fontutil ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
|
||||
@@ -18,8 +18,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ mkfontscale ];
|
||||
|
||||
configureFlags = [ "--with-fontrootdir=$(out)/lib/X11/fonts" ];
|
||||
|
||||
passthru = {
|
||||
updateScript = writeScript "update-${finalAttrs.pname}" ''
|
||||
#!/usr/bin/env nix-shell
|
||||
|
||||
@@ -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}" ''
|
||||
|
||||
@@ -31,8 +31,8 @@ let
|
||||
XkbDir "${xkeyboard_config}/share/X11/xkb"
|
||||
FontPath "${xorg.fontadobe75dpi}/share/fonts/X11/75dpi"
|
||||
FontPath "${xorg.fontadobe100dpi}/share/fonts/X11/100dpi"
|
||||
FontPath "${xorg.fontmiscmisc}/lib/X11/fonts/misc"
|
||||
FontPath "${xorg.fontcursormisc}/lib/X11/fonts/misc"
|
||||
FontPath "${xorg.fontmiscmisc}/share/fonts/X11/misc"
|
||||
FontPath "${xorg.fontcursormisc}/share/fonts/X11/misc"
|
||||
${lib.optionalString unfreeFonts ''
|
||||
FontPath "${xorg.fontbhlucidatypewriter75dpi}/share/fonts/X11/75dpi"
|
||||
FontPath "${xorg.fontbhlucidatypewriter100dpi}/share/fonts/X11/100dpi"
|
||||
|
||||
Reference in New Issue
Block a user