aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2006-09-24* Primop `toPath' to convert a string to a path.Eelco Dolstra
* Primop `pathExists' to check for path existence.
2006-09-24* Builtin function `getEnv' for getting environment variables.Eelco Dolstra
2006-09-24* lessThan primitive for integer comparison.Eelco Dolstra
2006-09-22* Builtin function `add' to add integers.Eelco Dolstra
* 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
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 ofEelco Dolstra
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 forEelco Dolstra
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
* `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 storeEelco Dolstra
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 "{". (TooEelco Dolstra
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
2006-08-30* Okay, that's a bit harder than expected.Eelco Dolstra
2006-08-30* TDD: == should do a deep equality test, i.e., it should strictlyEelco Dolstra
evaluate its arguments.
2006-08-29* Backwards compatibility test for ~.Eelco Dolstra
2006-08-24* New primop __toXML (or builtins.toXML) to convert an expression toEelco Dolstra
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
2006-08-23* A new primop `builtins', which returns an attribute set containingEelco Dolstra
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
2006-08-17* Distribute *.exp.xml.Eelco Dolstra
2006-08-17* Test for `nix-instantiate --eval-only --xml'.Eelco Dolstra
2006-08-16* Meh.Eelco Dolstra
2006-08-16* A test for NIX-53.Eelco Dolstra
2006-07-24* New language feature: domain checks, which check whether a functionEelco Dolstra
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
2006-07-24* Tests for domain checks.Eelco Dolstra
2006-07-24* Refactoring to support domain checks.Eelco Dolstra
2006-07-21* Purify `make check'.Eelco Dolstra
2006-07-21* Test for runtime root finding.Eelco Dolstra
2006-07-20* Doh.Eelco Dolstra
2006-07-20* Call find-runtime-roots.pl from the garbage collector to preventEelco Dolstra
running applications etc. from being garbage collected.
2006-07-19* Add a precise test for hashDerivatioModulo.Eelco Dolstra
2006-07-10* This expression has an undefined variable which isn't detected, soEelco Dolstra
evaluation fails: error: impossible: undefined variable `gcc'
2006-06-16* Skip this test on Cygwin, too slow (and doesn't test anything ↵Eelco Dolstra
Cygwin-specific).
2006-05-29* Handle $PATHs with spaces.Eelco Dolstra
2006-05-08* Allow function argument default values to refer to other argumentsEelco Dolstra
of the function. Implements NIX-45.
2006-05-02* More tests.Eelco Dolstra
2006-05-02* Tests for NIX-45.Eelco Dolstra
2006-05-01* String interpolation. Expressions likeEelco Dolstra
"--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 Dolstra
configureFlags = "--with-freetype2-library=" + freetype + "/lib";
2006-04-25* Unless --with-bzip2 is specified, use a copy of bzip2 in theEelco Dolstra
externals directory. This is in particular useful because though most systems have bzip2/bunzip2, they don't always have libbz2, which we need for bsdiff/bspatch.
2006-03-10* Allow `make check' to work in directories that have symlinkEelco Dolstra
components.
2006-03-10* `nix-env -qa --description' shows human-readable descriptions ofEelco Dolstra
packages (provided that they have a `meta.description' attribute). E.g., $ ./src/nix-env/nix-env -qa --description gcc gcc-4.0.2 GNU Compiler Collection, 4.0.x (cross-compiler for sparc-linux) gcc-4.0.2 GNU Compiler Collection, 4.0.x (cross-compiler for mips-linux) gcc-4.0.2 GNU Compiler Collection, 4.0.x (cross-compiler for arm-linux) gcc-4.0.2 GNU Compiler Collection, 4.0.x
2006-03-10* Oops.Eelco Dolstra
2006-03-10* `nix-env -q' now accepts arguments that allow specific derivationsEelco Dolstra
to be queried, e.g., `nix-env -qa firefox'. This does require the argument '*' to be passed if one wants information about all derivations, so the old `nix-env -qa' now is `nix-env -qa "*"'.
2006-03-01* Tests for fixed-output derivations (and attribute selection, incidentally).Eelco Dolstra
2006-03-01* Tests to prevent a repeat of the parseHash32 debacle.Eelco Dolstra
2006-03-01* Doh!Eelco Dolstra
2006-03-01* More test coverage.Eelco Dolstra
2006-03-01* Doh!Eelco Dolstra
2006-03-01* Test `nix-store -q --binding'.Eelco Dolstra