mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* Test for `nix-instantiate --eval-only --xml'.
This commit is contained in:
parent
24e234a2fa
commit
4874fd2d9a
4 changed files with 68 additions and 1 deletions
13
tests/lang/eval-okay-xml.nix
Normal file
13
tests/lang/eval-okay-xml.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
rec {
|
||||
|
||||
x = 123;
|
||||
|
||||
a = "foo";
|
||||
|
||||
b = "bar";
|
||||
|
||||
c = "foo" + "bar";
|
||||
|
||||
f = {z, x : ["a" "b" ("c" + "d")], y : [true false]}: if y then x else z;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue