I created this PR which introduces a font with several variants. The PR defines by-name/ap/aporetic/package.nix which returns an attribute set and not a derivation (e.g., it provides aporetic.sans-mono and aporetic.serif, not just aporetic). The PR fails building because of that:
pkgs.aporetic: This attribute defined by pkgs/by-name/ap/aporetic/package.nix is not a derivation
but I got the same error message. I then read the manual about multiple outputs. While a split derivation seems possible, the manual reminded me of symlinkJoin which I used successfully. The advantage is that there is now only one derivation to use for people which makes things simpler. The problem is that it is not possible to install only “sans-mono” but I can live with that for now.
Hi, thanks for packaging Aporetic! I’m an iosevka-comfy.comfy-fixed user so I’d love to be able to migrate to aporetic.sans-mono come 25.05 without having to include the other variants in my profile. Would it be possible to adapt the multi-output Iosevka Comfy expression for Aporetic?