tvl-depot/doc
Eelco Dolstra 95c74eae26 Allow dashes in identifiers
In Nixpkgs, the attribute in all-packages.nix corresponding to a
package is usually equal to the package name.  However, this doesn't
work if the package contains a dash, which is fairly common.  The
convention is to replace the dash with an underscore (e.g. "dbus-lib"
becomes "dbus_glib"), but that's annoying.  So now dashes are valid in
variable / attribute names, allowing you to write:

  dbus-glib = callPackage ../development/libraries/dbus-glib { };

and

  buildInputs = [ dbus-glib ];

Since we don't have a negation or subtraction operation in Nix, this
is unambiguous.
2012-09-27 15:49:20 -04:00
..
dev * Bumped the version number to 0.11. 2006-10-06 13:45:29 +00:00
manual Allow dashes in identifiers 2012-09-27 15:49:20 -04:00
Makefile.am * Generate man pages from the manual. 2003-08-12 13:54:42 +00:00
signing.txt * `nix-store --export --sign': sign the Nix archive using the RSA key 2007-02-21 14:31:42 +00:00