[prev in list] [next in list] [prev in thread] [next in thread]
List: nix-dev
Subject: [Nix-dev] Google web fonts import
From: marco-oweber () gmx ! de (Marc Weber)
Date: 2012-06-25 15:42:46
Message-ID: 1340638662-sup-7330 () nixos
[Download RAW message or body]
Excerpts from Eelco Dolstra's message of Mon Jun 25 17:31:47 +0200 2012:
> Why? Unless you frequently want to pass all fonts around (like you might pass
> "xorg" as an input), grouping things into a set is not particularly useful.
Why? Because you can do something like "install all fonts" by getting
attr values of that attr - and to keep similar thing nearby each other.
Having fonts spread all over all-packages.nix is not very readable.
If you want to access attrs by name use exuberant ctags
http://nixos.org/wiki/Howto_find_a_package_in_NixOS
It also reduces the likelyhood that font names collide with other
package names which happen to have the same name such as
andagii = callPackage ../data/fonts/andagii {};
Why do some fonts have the suffix _font?
That's another way to create separate namespaces - having an attr set is
the cleaner way IMHO.
Marc Weber
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic