about summary refs log tree commit diff
path: root/tests (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-07-09 Add a test for the fetchurl functionEelco Dolstra3-1/+17
2012-04-14 Urgh, modified the wrong file...Eelco Dolstra1-1/+1
2012-04-14 nix-channel improvementsEelco Dolstra1-2/+2
"nix-channel --add" now accepts a second argument: the channel name. This allows channels to have a nicer name than (say) nixpkgs_unstable. If no name is given, it defaults to the last component of the URL (with "-unstable" or "-stable" removed). Also, channels are now stored in a profile (/nix/var/nix/profiles/per-user/$USER/channels). One advantage of this is that it allows rollbacks (e.g. if "nix-channel --update" gives an undesirable update).
2012-03-19 Replace "make check" with "make installcheck"Eelco Dolstra6-46/+12
Ensuring that the tests work from the build tree requires a growing number of nasty hacks. The tests also don't verify that the installed Nix actually works. Thus, the tests now require "make install" to have been run.
2012-03-18 Drop the externals directoryEelco Dolstra2-6/+0
Nix now requires SQLite and bzip2 to be pre-installed. SQLite is detected using pkg-config. We required DBD::SQLite anyway, so depending on SQLite is not a big problem. The --with-bzip2, --with-openssl and --with-sqlite flags are gone.
2012-03-12 Fix testsEelco Dolstra2-4/+4
2012-01-26 * Add a test for importing derivations.Eelco Dolstra3-1/+37
2012-01-19 * Add a test case for comparing derivations.Eelco Dolstra2-0/+11
2012-01-11 tests: Run `download-using-manifests' via libtool so that dlopening works.Ludovic Courtès2-1/+6
2012-01-04 * Check whether the outputName attribute works.Eelco Dolstra1-2/+2
2012-01-03 * Sync with the trunk.Eelco Dolstra9-36/+52
2012-01-03 * FreeBSD tar defaults to the tape device instead of stdout.Eelco Dolstra1-1/+1
2012-01-03 * Add a test for nix-channel.Eelco Dolstra4-3/+47
* Refactor the nix-channel unpacker a bit.
2012-01-03 * Refactoring: Get rid of a few subdirectories in corepkgs/, and someEelco Dolstra5-33/+4
other simplifications. * Use <nix/...> to locate the corepkgs. This allows them to be overriden through $NIX_PATH. * Use bash's pipefail option in the NAR builder so that we don't need to create a temporary file.
2011-12-30 * Sync with the trunk.Eelco Dolstra2-2/+0
2011-12-21 * The ‘foo.drvPath’ feature was already broken in read-only mode.Eelco Dolstra1-3/+3
Since it's rarely used and fixing it is too much work right now, just document it.
2011-12-21 Make the reference cycle in the cyclic outputs test indirectShea Levy1-3/+4
2011-12-21 * Add a test for unsafeDiscardOutputDependency. Not really related toEelco Dolstra2-0/+16
multiple outputs, but good to have anyway.
2011-12-21 * Add a test for referring to another derivation's ‘drvPath’. ThisEelco Dolstra2-1/+29
currently fails in read-only mode.
2011-12-21 * Add some accidentally committed files.Eelco Dolstra2-2/+0
2011-12-20 * Doing a GC after building a derivation with cyclic outputs currentlyEelco Dolstra1-1/+1
segfaults.
2011-12-20 * Add a (currently failing) test that checks whether mutuallyEelco Dolstra2-0/+22
recursive outputs are properly rejected. * Add a (also failing) test for "nix-build -A <output-name>".
2011-12-20 * Refactor a bit so that more tests can be added.Eelco Dolstra5-36/+26
2011-12-16 * Sync with the trunk.Eelco Dolstra4-4/+3
2011-12-14 * Oops, the daemon test wasn't actually using the daemon.Eelco Dolstra2-3/+1
2011-12-01 * Allow '<nixexpr>' syntax to be used in nix-instantiate, nix-buildEelco Dolstra1-1/+1
and nix-env, e.g., $ nix-env -f '<nixpkgs>' -i patchelf or $ nix-build '<nixos/tests>' -A login.test
2011-11-25 * Fix race.Eelco Dolstra1-0/+1
2011-11-06 Fix stupid typo in multiple outputs testShea Levy1-2/+2
2011-11-06 The nixinstantiate and nixstore env vars are no longer set in common.shShea Levy1-2/+2
2011-11-06 Merge from trunkShea Levy35-265/+396
2011-11-05 * Fix race condition in the test.Eelco Dolstra1-0/+1
2011-10-11 * Add a test for nix-copy-closure.Eelco Dolstra1-0/+53
2011-10-11 * Move the remote building test from the NixOS tree to the Nix tree.Eelco Dolstra1-0/+97
2011-10-11 * Work around a race condition starting the Nix daemon.Eelco Dolstra1-1/+8
2011-10-10 * Refactoring: remove unnecessary variables from the tests.Eelco Dolstra33-235/+220
2011-10-10 * Install NixManifest.pm, NixConfig.pm and GeneratePatches.pm underEelco Dolstra5-30/+18
the Nix:: namespace.
2011-09-14 Add a test for multiple outputsShea Levy5-1/+54
This currently fails. Yay test-driven development!
2011-08-08 * On FreeBSD, ‘touch’ is not in the test $PATH, so don't use it.Eelco Dolstra1-2/+2
2011-08-06 * Add the Nix corepkgs to the end of the search path. This makes itEelco Dolstra2-3/+3
possible for other Nix expressions to use corepkgs (mostly useful for the buildenv function).
2011-08-06 * Allow redirections in search path entries. E.g. if you have aEelco Dolstra3-3/+3
directory /home/eelco/src/stdenv-updates that you want to use as the directory for import such as with (import <nixpkgs> { }); then you can say $ nix-build -I nixpkgs=/home/eelco/src/stdenv-updates
2011-08-06 * Add lang/dir* to the distribution.Eelco Dolstra1-1/+2
2011-08-06 * Add a Nix expression search path feature. Paths between angleEelco Dolstra14-1/+16
brackets, e.g. import <nixpkgs/pkgs/lib> are resolved by looking them up relative to the elements listed in the search path. This allows us to get rid of hacks like import "${builtins.getEnv "NIXPKGS_ALL"}/pkgs/lib" The search path can be specified through the ‘-I’ command-line flag and through the colon-separated ‘NIX_PATH’ environment variable, e.g., $ nix-build -I /etc/nixos ... If a file is not found in the search path, an error message is lazily thrown.
2011-07-20 * Added a test that make sure that users cannot registerEelco Dolstra3-1/+62
specially-crafted derivations that produce output paths belonging to other derivations. This could be used to inject malware into the store.
2011-07-20 * Refactoring.Eelco Dolstra2-12/+17
2011-07-13 * Allow attribute names to be strings. Based on theEelco Dolstra2-0/+21
allow-arbitrary-strinsg-in-names patch by Marc Weber.
2011-07-13 * Allow a default value in attribute selection by writingEelco Dolstra2-0/+22
x.y.z or default (as originally proposed in https://mail.cs.uu.nl/pipermail/nix-dev/2009-September/002989.html). For instance, an expression like stdenv.lib.attrByPath ["features" "ckSched"] false args can now be written as args.features.ckSched or false
2011-07-06 * Test case.Eelco Dolstra2-0/+8
2011-06-30 Add support for the `build-timeout' and `--timeout' options.Ludovic Courtès4-1/+36
2011-02-09 * Urgh, FreeBSD doesn't have a "seq" command.Eelco Dolstra1-2/+2
2011-01-14 * builtins.substring: if "start" is beyond the end of the string,Eelco Dolstra2-1/+3
return the empty string.