Files
lix/doc/manual
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
..
2012-05-09 19:06:13 -04:00
2007-12-04 11:42:58 +00:00
2012-07-09 11:33:38 -04:00
2012-07-09 11:33:38 -04:00
2012-05-10 19:29:36 -04:00
2009-11-05 09:07:43 +00:00
2011-12-30 13:43:29 +00:00
2010-08-16 13:23:45 +00:00
2012-05-10 18:09:45 -04:00
2012-07-29 14:37:40 -04:00
2012-07-29 14:37:40 -04:00
2007-12-31 02:52:17 +00:00
2012-05-11 17:39:06 -04:00
2012-09-27 15:49:20 -04:00
2004-10-31 17:08:48 +00:00
2012-05-11 17:39:06 -04:00
2012-05-11 17:39:06 -04:00