libsForQt5.qtforkawesome: Use ttf of fork_awesome

This commit is contained in:
Doron Behar 2022-05-27 15:36:03 +03:00
parent 803b9d6343
commit f4812d06e2

View file

@ -39,7 +39,10 @@ in stdenv.mkDerivation rec {
perl.pkgs.YAML perl.pkgs.YAML
]; ];
cmakeFlags = [ cmakeFlags = [
"-DFORK_AWESOME_FONT_FILE=${fork_awesome_release}/fonts/forkawesome-webfont.woff2" # Current freetype used by NixOS users doesn't support the `.woff2` font
# format, so we use ttf. See
# https://github.com/NixOS/nixpkgs/pull/174875#discussion_r883423881
"-DFORK_AWESOME_FONT_FILE=${fork_awesome_release}/fonts/forkawesome-webfont.ttf"
"-DFORK_AWESOME_ICON_DEFINITIONS=${fork_awesome_release}/src/icons/icons.yml" "-DFORK_AWESOME_ICON_DEFINITIONS=${fork_awesome_release}/src/icons/icons.yml"
]; ];