mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
f7a36f9812
- Remove some stray saved error messages that didn't correspond to any
test, because they were renamed in
d11faa01b5
.
- Need `--eval` in test failure test in order to get in "read-only" mode
where we don't try to write to the store. (The other tests already do
this.)
- Need `--strict` so top-level attribute sets are still forced, like
they are without `--eval`.
18 lines
547 B
Text
18 lines
547 B
Text
error:
|
|
… while evaluating the attribute 'set'
|
|
|
|
at /pwd/lang/eval-fail-dup-dynamic-attrs.nix:2:3:
|
|
|
|
1| {
|
|
2| set = { "${"" + "b"}" = 1; };
|
|
| ^
|
|
3| set = { "${"b" + ""}" = 2; };
|
|
|
|
error: dynamic attribute 'b' already defined at /pwd/lang/eval-fail-dup-dynamic-attrs.nix:2:11
|
|
|
|
at /pwd/lang/eval-fail-dup-dynamic-attrs.nix:3:11:
|
|
|
|
2| set = { "${"" + "b"}" = 1; };
|
|
3| set = { "${"b" + ""}" = 2; };
|
|
| ^
|
|
4| }
|