lix/src/libexpr
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
..
attr-path.cc Templatise tokenizeString() 2012-09-19 15:43:23 -04:00
attr-path.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
common-opts.cc Fix error message 2012-02-09 18:56:48 +01:00
common-opts.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
eval-inline.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
eval.cc Templatise tokenizeString() 2012-09-19 15:43:23 -04:00
eval.hh Add a primop ‘concatLists’ 2012-08-13 01:53:10 -04:00
get-drvs.cc * Inline some functions and get rid of the indirection through 2012-02-04 13:50:25 +00:00
get-drvs.hh Merge branch 'master' into no-manifests 2012-07-26 15:14:33 -04:00
lexer.l Allow dashes in identifiers 2012-09-27 15:49:20 -04:00
Makefile.am * Inline some functions and get rid of the indirection through 2012-02-04 13:50:25 +00:00
names.cc * Export the nix-env derivation name parsing and version comparison 2008-07-01 10:10:32 +00:00
names.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
nix.sdf First attempt to update Nix SDF grammar to match the actual bison grammar 2008-06-04 14:36:46 +00:00
nixexpr.cc * Allow a default value in attribute selection by writing 2011-07-13 12:19:57 +00:00
nixexpr.hh Add some basic profiling support to the evaluator 2012-08-12 23:29:28 -04:00
parser.y Avoid concatenating lists of one string 2012-08-13 15:10:29 -04:00
primops.cc Templatise tokenizeString() 2012-09-19 15:43:23 -04:00
symbol-table.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
value-to-xml.cc Fix compilation on FreeBSD 2012-03-05 22:04:40 +01:00
value-to-xml.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00
value.hh Use "#pragma once" to prevent repeated header file inclusion 2012-07-18 14:59:03 -04:00