Skip to content

Commit f8d4aa5

Browse files
jtojnarerictapen
authored andcommitted
python.pkgs.fontforge: disable with Python 2
Since the latest update, fontforge no longer supports building with Python 2. Let's prevent failing builds. (cherry picked from commit ce55b09)
1 parent adc7650 commit f8d4aa5

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3605,14 +3605,10 @@ in {
36053605

36063606
folium = callPackage ../development/python-modules/folium { };
36073607

3608-
fontforge = (toPythonModule (pkgs.fontforge.override {
3608+
fontforge = disabledIf (!isPy3k) (toPythonModule (pkgs.fontforge.override {
36093609
withPython = true;
36103610
inherit python;
3611-
})).overrideAttrs (old: {
3612-
meta = old.meta // {
3613-
broken = isPy38;
3614-
};
3615-
});
3611+
}));
36163612

36173613
fonttools = callPackage ../development/python-modules/fonttools { };
36183614

0 commit comments

Comments
 (0)