diff --git a/pkgs/development/libraries/qtforkawesome/default.nix b/pkgs/development/libraries/qtforkawesome/default.nix index 03579e024c6c..b82d5b160c31 100644 --- a/pkgs/development/libraries/qtforkawesome/default.nix +++ b/pkgs/development/libraries/qtforkawesome/default.nix @@ -39,7 +39,10 @@ in stdenv.mkDerivation rec { perl.pkgs.YAML ]; 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" ];