pkgs/data/fonts: merge back the split otb output
Since the Pango issue 457[1] has been fixed and Nixpkgs patched, it's no longer necessary to keep X11 and .otb fonts in separate outputs (previously they would cause application to display broken fonts). [1]: https://gitlab.gnome.org/GNOME/pango/-/issues/457
This commit is contained in:
@@ -20,19 +20,12 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
# install bdf fonts
|
||||
# install otb and bdf fonts
|
||||
fontDir="$out/share/fonts"
|
||||
install -m 644 -D *.bdf -t "$fontDir"
|
||||
mkfontdir "$fontDir"
|
||||
|
||||
# install otb fonts
|
||||
fontDir="$otb/share/fonts"
|
||||
install -m 644 -D *.otb -t "$fontDir"
|
||||
install -m 644 -D *.bdf *.otb -t "$fontDir"
|
||||
mkfontdir "$fontDir"
|
||||
'';
|
||||
|
||||
outputs = [ "out" "otb" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Unicode font";
|
||||
license = licenses.mit;
|
||||
|
||||
Reference in New Issue
Block a user