lix/src/libexpr
Shea Levy 6f3a51809a Fold dynamic binds handling into addAttr
Since addAttr has to iterate through the AttrPath we pass it, it makes
more sense to just iterate through the AttrNames in addAttr instead. As
an added bonus, this allows attrsets where two dynamic attribute paths
have the same static leading part (see added test case for an example
that failed previously).

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-12-31 17:57:10 -05:00
..
attr-path.cc Support quoted attribute names in -A 2013-11-18 10:21:12 +00:00
attr-path.hh Work on Values instead of Exprs 2013-09-03 13:17:51 +00: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 Get rid of an intermediary on the stack 2013-11-12 11:32:23 +00:00
eval.cc Dynamic attrs 2013-12-31 20:59:49 +00:00
eval.hh Add a toJSON primop 2013-11-19 00:04:11 +01:00
get-drvs.cc Check meta values and warn about bad ones 2013-11-19 14:29:39 +01:00
get-drvs.hh Check meta values and warn about bad ones 2013-11-19 14:29:39 +01:00
lexer.l Fix whitespace 2013-09-02 16:29:15 +02:00
Makefile.am Add a toJSON primop 2013-11-19 00:04:11 +01:00
names.cc nix-env: Use wildcard match by default 2013-09-03 16:35:49 +02: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 Dynamic attrs 2013-12-31 20:59:49 +00:00
nixexpr.hh Dynamic attrs 2013-12-31 20:59:49 +00:00
parser.y Fold dynamic binds handling into addAttr 2013-12-31 17:57:10 -05:00
primops.cc Bump language version for new storePath feature 2013-12-10 15:07:04 +01:00
symbol-table.hh Rename "attribute sets" to "sets" 2013-10-24 16:41:04 +02:00
value-to-json.cc Refactor JSON output 2013-11-19 00:33:06 +01:00
value-to-json.hh Refactor JSON output 2013-11-19 00:33:06 +01: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 Add a primop unsafeGetAttrPos to return the position of an attribute 2013-11-18 22:22:35 +01:00