Font Name different depending on platform

Hi there. I am using fontconfig on both my NixOS and Mac to get the name of the same font (Victor Mono NF) installed via nixpkgs. But for some reason, the name of the same font is different on each machine.

Is this a Nix packaging issue, or something else? I am installing using the same module on both systems with:

        (nerdfonts.override {
          fonts = [
            "FiraCode"
            "CascadiaCode"
            "JetBrainsMono"
            "SourceCodePro"
            "Ubuntu"
            "UbuntuMono"
            "UbuntuSans"
            "NerdFontsSymbolsOnly"
            "VictorMono"

          ];
        })

On Linux:

$ fc-list : family | grep Victor 
Victor Mono,Victor Mono Light
Victor Mono,Victor Mono Medium
Victor Mono,Victor Mono Thin
Victor Mono,Victor Mono SemiBold
Victor Mono,Victor Mono ExtraLight
Victor Mono,Victor Mono Oblique
Victor Mono

On Mac:


$ fc-list : family | grep Victor
VictorMono Nerd Font Mono,VictorMono NFM,VictorMono NFM ExtraLight
VictorMono Nerd Font,VictorMono NF,VictorMono NF Obl
VictorMono Nerd Font,VictorMono NF,VictorMono NF ExtraLight
VictorMono Nerd Font Mono,VictorMono NFM,VictorMono NFM ExtraLight Obl
VictorMono Nerd Font,VictorMono NF,VictorMono NF Thin
VictorMono Nerd Font Mono,VictorMono NFM,VictorMono NFM SemiBold Obl
VictorMono Nerd Font,VictorMono NF,VictorMono NF Thin Obl
VictorMono Nerd Font Propo,VictorMono NFP,VictorMono NFP Thin
VictorMono Nerd Font Mono,VictorMono NFM,VictorMono NFM SemiBold
VictorMono Nerd Font Mono,VictorMono NFM,VictorMono NFM Light
VictorMono Nerd Font Propo,VictorMono NFP
VictorMono Nerd Font,VictorMono NF,VictorMono NF SemiBold
VictorMono Nerd Font Propo,VictorMono NFP,VictorMono NFP Obl
VictorMono Nerd Font Mono,VictorMono NFM
VictorMono Nerd Font Propo,VictorMono NFP,VictorMono NFP ExtraLight Obl
VictorMono Nerd Font,VictorMono NF,VictorMono NF ExtraLight Obl
VictorMono Nerd Font,VictorMono NF
VictorMono Nerd Font,VictorMono NF,VictorMono NF Light
VictorMono Nerd Font Propo,VictorMono NFP,VictorMono NFP SemiBold Obl
VictorMono Nerd Font,VictorMono NF,VictorMono NF Medium Obl
VictorMono Nerd Font Mono,VictorMono NFM,VictorMono NFM Medium Obl
VictorMono Nerd Font Mono,VictorMono NFM,VictorMono NFM Thin
VictorMono Nerd Font Mono,VictorMono NFM,VictorMono NFM Medium
VictorMono Nerd Font Propo,VictorMono NFP,VictorMono NFP SemiBold
VictorMono Nerd Font,VictorMono NF,VictorMono NF Medium
VictorMono Nerd Font Propo,VictorMono NFP,VictorMono NFP Light Obl
VictorMono Nerd Font Propo,VictorMono NFP,VictorMono NFP Medium
VictorMono Nerd Font Propo,VictorMono NFP,VictorMono NFP Thin Obl
VictorMono Nerd Font Mono,VictorMono NFM,VictorMono NFM Thin Obl
VictorMono Nerd Font Mono,VictorMono NFM,VictorMono NFM Obl
VictorMono Nerd Font,VictorMono NF,VictorMono NF SemiBold Obl
VictorMono Nerd Font,VictorMono NF,VictorMono NF Light Obl
VictorMono Nerd Font Mono,VictorMono NFM,VictorMono NFM Light Obl
VictorMono Nerd Font Propo,VictorMono NFP,VictorMono NFP ExtraLight
VictorMono Nerd Font Propo,VictorMono NFP,VictorMono NFP Light
VictorMono Nerd Font Propo,VictorMono NFP,VictorMono NFP Medium Obl

Generally, this would not matter, except my editor config is synced for both systems using the same editor config.

Any ideas?

Cheers.

Those are different fonts. On Linux you’re not using the nerd fonts, evidently.

In general, it’d also be odd to expect that the same config will work across operating systems.

Well, they’re both installed from that exact same module.

I include and use the same file in both set ups.

But I’ll double check and confirm.

OK, I figured this out.

What it was, was that one system hadn’t been updated to the same version of the font yet. This was primarily due to other build errors. But the name of the font came into sync once I had both systems build successfully.