Last active
December 1, 2017 22:27
-
-
Save chris-martin/41a4808d2ce4a3299a59544d53153c1b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
fonts.fonts = [ | |
pkgs.corefonts | |
pkgs.fira | |
pkgs.fira-code | |
pkgs.fira-mono | |
pkgs.lato | |
pkgs.inconsolata | |
pkgs.symbola | |
pkgs.ubuntu_font_family | |
pkgs.unifont | |
pkgs.vistafonts | |
(pkgs.runCommand "yourfontname" { } '' | |
mkdir --parents $out/share/fonts | |
ln -s ${/home/you/yourfont} --target-directory=$out/share/fonts | |
'') | |
]; | |
} |
I was missing the parens!
It works now, thanks so much!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have this now:
And it says
error: cannot coerce a function to a string, at /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/lib/types.nix:170:42
Any hint?