diff --git a/pkgs/servers/x11/xorg/overrides.nix b/pkgs/servers/x11/xorg/overrides.nix index b78e669cf9a..1fadab2cc3d 100644 --- a/pkgs/servers/x11/xorg/overrides.nix +++ b/pkgs/servers/x11/xorg/overrides.nix @@ -167,7 +167,11 @@ in }; xorgserver = with xorg; attrs: attrs // { - configureFlags = "--enable-xcsecurity"; # enable SECURITY extension + configureFlags = [ + "--enable-xcsecurity" # enable SECURITY extension + "--with-default-font-path= " # there were only paths containing "${prefix}", + # and there are no fonts in this package anyway + ]; patches = [./xorgserver-dri-path.patch ./xorgserver-xkbcomp-path.patch]; buildInputs = attrs.buildInputs ++ [ xtrans ]; propagatedBuildInputs =