Files
nix/tests/lang
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
..
2006-03-01 16:26:13 +00:00
2006-05-02 11:20:55 +00:00
2007-01-29 14:23:09 +00:00
2006-10-17 11:16:02 +00:00
2011-07-06 10:58:53 +00:00
2011-07-06 10:58:53 +00:00
2006-03-01 16:26:13 +00:00
2006-03-01 16:26:13 +00:00
2008-02-05 13:25:18 +00:00
2004-10-27 12:41:53 +00:00
2006-03-01 16:26:13 +00:00
2006-05-02 11:15:04 +00:00
2006-05-02 11:20:55 +00:00
2010-05-07 14:46:47 +00:00
2010-05-07 14:46:47 +00:00
2010-05-07 14:46:47 +00:00
2010-03-23 14:51:32 +00:00
2004-10-27 12:41:53 +00:00
2006-08-16 10:29:43 +00:00
2004-10-27 12:41:53 +00:00