NixOS / NixOS/nixpkgs

opentype-feature-freezer: name 'fontTools' is not defined

Open
#462,016 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0.kind: bug 2.status: stale
Dominant language
Nix
Stars
26.2k
Forks
20.1k
PR merge metrics
PR metrics pending

Description

Nixpkgs version

nixos-unstable

Describe the bug

Trying to use the cli tool, doesn't work, gives that error

Steps to reproduce
  1. Install (in config or nix shell) the package
  2. Try to use the program, even using pyftfeatfreeze -f 'ss03,ss04,ss05,cv02,cv06,cv10' -S -U retblast -R 'CommitMonoV143/CommitMono' CommitMono-400-Regular.ttf test.ttf doesn't work
Expected behaviour

The program just works. I thought maybe it broke, I asked a friend to test it on their macbook, worked fine.

Screenshots

No response

Relevant log output
WARNING: [_openFontTTX] TTX cannot open CommitMono-400-Regular.ttf: name 'fontTools' is not defined
ERROR: Failed to open font. Aborting.
WARNING: Errors during processing.
Additional context

No response

System metadata
  • system: "x86_64-linux"
  • host os: Linux 6.17.7-zen1, NixOS, 25.11 (Xantusia), 25.11.20251111.9da7f1c
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.31.2
  • nixpkgs: /nix/store/cjjpqrp9xy44j5fjh3mygyxy3i7mslj2-source
Notify maintainers

@jopejoe1


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs
Is this issue important to you?

Add a 👍 reaction to issues you find important.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with the provided pyftfeatfreeze command and inspect the package's CLI entry point and nixpkgs definition. Trace why fontTools is unavailable during font loading. Done means the command opens the font and produces test.ttf without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.