Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-08-14 | * Hopefully this fixes the test on FreeBSD. | Eelco Dolstra | 2 | -3/+3 | |
2007-08-13 | * A test for the nix-worker. | Eelco Dolstra | 4 | -2/+24 | |
2007-08-13 | * Fix the tests. | Eelco Dolstra | 12 | -63/+67 | |
2007-05-15 | * Allow empty argument lists in function definitions (e.g., `{}: | Eelco Dolstra | 2 | -0/+2 | |
bla'). Also allow trailing commas (`{x, y,}: ...') as a unintented consequence. Hopefully the reduce/reduce conflict won't cause any problems. | |||||
2007-02-21 | * Don't use $SHELL. | Eelco Dolstra | 3 | -10/+2 | |
2007-01-29 | New primitives: | Eelco Dolstra | 6 | -4/+41 | |
* `sub' to subtract two numbers. * `stringLength' to get the length of a string. * `substring' to get a substring of a string. These should be enough to allow most string operations to be expressed. | |||||
2007-01-15 | * builtins.filterSource: pass the type of the file ("regular", | Eelco Dolstra | 2 | -1/+5 | |
"directory", "symlink") as the second argument to the filter predicate. | |||||
2007-01-14 | * Don't forget the .flags files. | Eelco Dolstra | 1 | -1/+1 | |
2007-01-14 | * Option --argstr for passing string arguments easily. (NIX-75) | Eelco Dolstra | 4 | -1/+22 | |
2007-01-13 | * Canonicalise ASTs in `nix-instantiate --eval': remove position | Eelco Dolstra | 4 | -4/+4 | |
info, sort attribute sets. | |||||
2006-12-12 | * New primop builtins.filterSource, which can be used to filter files | Eelco Dolstra | 3 | -1/+23 | |
from a source directory. All files for which a predicate function returns true are copied to the store. Typical example is to leave out the .svn directory: stdenv.mkDerivation { ... src = builtins.filterSource (path: baseNameOf (toString path) != ".svn") ./source-dir; # as opposed to # src = ./source-dir; } This is important because the .svn directory influences the hash in a rather unpredictable and variable way. | |||||
2006-12-12 | * New built-in function `builtins.attrNames' that returns the | Eelco Dolstra | 2 | -0/+12 | |
names of the attributes in an attribute set. | |||||
2006-12-02 | * Clear NIX_REMOTE in the tests. | Eelco Dolstra | 1 | -0/+2 | |
2006-10-19 | * Checks for allowedReferences and some other features. | Eelco Dolstra | 4 | -2/+100 | |
* Use nix-build in a test. | |||||
2006-10-17 | * Another test. | Eelco Dolstra | 1 | -0/+1 | |
2006-10-17 | * Fix the tests wrt the AST changes, i.e., Str(s) -> Str(s, []), and | Eelco Dolstra | 19 | -22/+22 | |
the semantic changes. | |||||
2006-10-11 | * Removed URIs from the evaluator (NIX-66). They are now just another | Eelco Dolstra | 3 | -3/+3 | |
kind of notation for strings. | |||||
2006-10-03 | * toFile: added an additional argument to specify the store path | Eelco Dolstra | 1 | -1/+1 | |
suffix, e.g., `builtins.toFile "builder.sh" "..."'. * toFile: handle references to other files correctly. | |||||
2006-10-02 | * Finally, a real "let" syntax: `let x = ...; ... z = ...; in ...'. | Eelco Dolstra | 2 | -0/+15 | |
2006-09-24 | * Primop `toPath' to convert a string to a path. | Eelco Dolstra | 2 | -0/+4 | |
* Primop `pathExists' to check for path existence. | |||||
2006-09-24 | * Builtin function `getEnv' for getting environment variables. | Eelco Dolstra | 3 | -0/+4 | |
2006-09-24 | * lessThan primitive for integer comparison. | Eelco Dolstra | 1 | -1/+4 | |
2006-09-22 | * Builtin function `add' to add integers. | Eelco Dolstra | 8 | -26/+48 | |
* Put common test functions in tests/lang/lib.nix. | |||||
2006-09-22 | * Added a builtin function `isList' to test whether a value is a list. | Eelco Dolstra | 2 | -0/+20 | |
With this primitive, a list-flattening function can be implemented (NIX-55, example is in tests/lang/eval-okay-flatten.nix). | |||||
2006-09-22 | * Builtin functions `head' and `tail' to return the head and tail of | Eelco Dolstra | 2 | -0/+14 | |
list. Useful for lots of things, such as implementing a fold function (see NIX-30, example is in tests/lang/eval-okay-list.nix). | |||||
2006-09-22 | * New builtin functions builtins.{hasAttr, getAttr} to check for | Eelco Dolstra | 2 | -0/+11 | |
attribute existence and to return an attribute from an attribute set, respectively. Example: `hasAttr "foo" {foo = 1;}'. They differ from the `?' and `.' operators in that the attribute name is an arbitrary expression. (NIX-61) | |||||
2006-09-21 | * `nix-install-package --url': install from a URL (NIX-12). | Eelco Dolstra | 7 | -16/+45 | |
* `nix-install-package --help' (NIX-9). * `nix-install-package --non-interactive': don't prompt or pause. * Tests for nix-install-package. * Security fixes: filter the values obtained from the nixpkg. | |||||
2006-09-01 | * New primop: builtins.toFile, which writes a string into the store | Eelco Dolstra | 1 | -6/+22 | |
and returns its path. This can be used to (for instance) write builders inside a Nix expression, e.g., stdenv.mkDerivation { builder = " source $stdenv/setup ... "; ... } | |||||
2006-09-01 | * Allow "$" in strings as long as they are not followed by "{". (Too | Eelco Dolstra | 2 | -1/+2 | |
bad flex doesn't have lexical restrictions, the current solution isn't quite right...) | |||||
2006-09-01 | * Fix race condition in the test. | Eelco Dolstra | 1 | -0/+1 | |
2006-08-30 | * Okay, that's a bit harder than expected. | Eelco Dolstra | 1 | -0/+0 | |
2006-08-30 | * TDD: == should do a deep equality test, i.e., it should strictly | Eelco Dolstra | 2 | -0/+4 | |
evaluate its arguments. | |||||
2006-08-29 | * Backwards compatibility test for ~. | Eelco Dolstra | 1 | -1/+1 | |
2006-08-24 | * New primop __toXML (or builtins.toXML) to convert an expression to | Eelco Dolstra | 2 | -0/+2 | |
an XML representation stored in a string. This should be useful to pass structured information to builders. | |||||
2006-08-23 | * New primop: abort "error message". | Eelco Dolstra | 1 | -0/+1 | |
2006-08-23 | * A new primop `builtins', which returns an attribute set containing | Eelco Dolstra | 2 | -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 Dolstra | 2 | -8/+10 | |
2006-08-17 | * Distribute *.exp.xml. | Eelco Dolstra | 1 | -1/+1 | |
2006-08-17 | * Test for `nix-instantiate --eval-only --xml'. | Eelco Dolstra | 4 | -1/+68 | |
2006-08-16 | * Meh. | Eelco Dolstra | 1 | -2/+2 | |
2006-08-16 | * A test for NIX-53. | Eelco Dolstra | 2 | -0/+18 | |
2006-07-24 | * New language feature: domain checks, which check whether a function | Eelco Dolstra | 1 | -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 | * `touch' might not be in $PATH. | Eelco Dolstra | 1 | -1/+0 | |
2006-07-24 | * Tests for domain checks. | Eelco Dolstra | 3 | -0/+15 | |
2006-07-24 | * Refactoring to support domain checks. | Eelco Dolstra | 3 | -3/+3 | |
2006-07-21 | * Purify `make check'. | Eelco Dolstra | 25 | -29/+27 | |
2006-07-21 | * Test for runtime root finding. | Eelco Dolstra | 5 | -5/+64 | |
2006-07-20 | * Doh. | Eelco Dolstra | 1 | -1/+1 | |
2006-07-20 | * Call find-runtime-roots.pl from the garbage collector to prevent | Eelco Dolstra | 1 | -0/+1 | |
running applications etc. from being garbage collected. | |||||
2006-07-19 | * Add a precise test for hashDerivatioModulo. | Eelco Dolstra | 3 | -0/+34 | |