about summary refs log tree commit diff
path: root/tests/lang
AgeCommit message (Collapse)AuthorFilesLines
2006-08-23 * New primop: abort "error message".Eelco Dolstra1-0/+1
2006-08-23 * A new primop `builtins', which returns an attribute set containingEelco Dolstra2-0/+13
all the primops. This allows Nix expressions to test for new primops and take appropriate action if they're not available. For instance, rather than calling a primop `foo' directly, they could say `if builtins ? foo then builtins.foo ... else ...'.
2006-08-22 * Urgh (see NIX-56).Eelco Dolstra1-1/+0
2006-08-17 * Test for `nix-instantiate --eval-only --xml'.Eelco Dolstra3-0/+56
2006-08-16 * Meh.Eelco Dolstra1-2/+2
2006-08-16 * A test for NIX-53.Eelco Dolstra2-0/+18
2006-07-24 * New language feature: domain checks, which check whether a functionEelco Dolstra1-0/+7
argument has a valid value, i.e., is in a certain domain. E.g., { foo : [true false] , bar : ["a" "b" "c"] }: ... This previously could be done using assertions, but domain checks will allow the buildfarm to automatically extract the configuration space from functions.
2006-07-24 * Tests for domain checks.Eelco Dolstra3-0/+15
2006-07-24 * Refactoring to support domain checks.Eelco Dolstra3-3/+3
2006-07-10 * This expression has an undefined variable which isn't detected, soEelco Dolstra1-0/+11
evaluation fails: error: impossible: undefined variable `gcc'
2006-05-08 * Allow function argument default values to refer to other argumentsEelco Dolstra2-0/+2
of the function. Implements NIX-45.
2006-05-02 * More tests.Eelco Dolstra3-1/+9
2006-05-02 * Tests for NIX-45.Eelco Dolstra3-0/+21
2006-05-01 * String interpolation. Expressions likeEelco Dolstra2-2/+10
"--with-freetype2-library=" + freetype + "/lib" can now be written as "--with-freetype2-library=${freetype}/lib" An arbitrary expression can be enclosed within ${...}, not just identifiers. * Escaping in string literals: \n, \r, \t interpreted as in C, any other character following \ is interpreted as-is. * Newlines are now allowed in string literals.
2006-05-01 * Allow string concatenations involving derivations, e.g.,Eelco Dolstra2-2/+2
configureFlags = "--with-freetype2-library=" + freetype + "/lib";
2006-03-01 * More test coverage.Eelco Dolstra7-0/+15
2005-11-17 * "Fix" the test, since we cannot feasibly support the intended semantics.Eelco Dolstra1-1/+1
2005-11-04 * Scoping bug in `with'.Eelco Dolstra2-0/+14
2005-07-25 * Added a list concatenation operator:Eelco Dolstra2-0/+2
[1 2 3] ++ [4 5 6] => [1 2 3 4 5 6]
2005-05-18 * Added a primop `removeAttrs' to remove attributes from a set, e.g.,Eelco Dolstra3-0/+11
`removeAttrs attrs ["x", "y"]' returns the set `attrs' with the attributes named `x' and `y' removed. It is not an error for the named attributes to be missing from the input set.
2005-03-10 * Check for duplicate attributes and formal parameters in NixEelco Dolstra5-0/+31
expressions.
2004-10-27 * Use `atdiff' instead of `cmp' for checking test output.Eelco Dolstra2-3/+3
* Don't use local file names in tests since they will produce different parse trees depending on the current directory.
2004-10-27 * Bug fix in parsing of /* ... */ comments; due to longest matchEelco Dolstra2-0/+12
regexp there could be only one such comment per file.
2004-10-27 * Remove ancient Fix tests.Eelco Dolstra20-0/+91
* Add automated Nix expression language tests.