Eelco Dolstra
c7d9397fc9
* Handle $PATHs with spaces.
2006-05-29 21:53:58 +00:00
Eelco Dolstra
5cabd47394
* Allow function argument default values to refer to other arguments
...
of the function. Implements NIX-45.
2006-05-08 12:52:47 +00:00
Eelco Dolstra
ae55e79541
* More tests.
2006-05-02 11:20:55 +00:00
Eelco Dolstra
dca43ef795
* Tests for NIX-45.
2006-05-02 11:15:04 +00:00
Eelco Dolstra
0064599a27
* String interpolation. Expressions like
...
"--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 14:01:47 +00:00
Eelco Dolstra
6cecad2be0
* Allow string concatenations involving derivations, e.g.,
...
configureFlags = "--with-freetype2-library="
+ freetype + "/lib";
2006-05-01 09:56:56 +00:00
Eelco Dolstra
03162f8f47
* Unless --with-bzip2 is specified, use a copy of bzip2 in the
...
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-04-25 10:45:53 +00:00
Eelco Dolstra
fdea084c36
* Allow `make check' to work in directories that have symlink
...
components.
2006-03-10 22:27:26 +00:00
Eelco Dolstra
37d1b1cafd
* `nix-env -qa --description' shows human-readable descriptions of
...
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 16:20:42 +00:00
Eelco Dolstra
a33fb2d287
* Oops.
2006-03-10 16:14:30 +00:00
Eelco Dolstra
4ada6db1fc
* `nix-env -q' now accepts arguments that allow specific derivations
...
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-10 10:24:46 +00:00
Eelco Dolstra
78d84f5631
* Tests for fixed-output derivations (and attribute selection, incidentally).
2006-03-01 18:26:21 +00:00
Eelco Dolstra
2167bf6b72
* Tests to prevent a repeat of the parseHash32 debacle.
2006-03-01 18:11:41 +00:00
Eelco Dolstra
1bdceb421f
* Doh!
2006-03-01 16:52:55 +00:00
Eelco Dolstra
fa95f4be3f
* More test coverage.
2006-03-01 16:26:13 +00:00
Eelco Dolstra
80b5c71684
* Doh!
2006-03-01 16:03:32 +00:00
Eelco Dolstra
e3daee919d
* Test `nix-store -q --binding'.
2006-03-01 15:46:22 +00:00
Eelco Dolstra
ea9c35d3cc
* Test nix-store --add' and
nix-store -q --hash'.
2006-03-01 15:43:37 +00:00
Eelco Dolstra
b90787290d
* TDD! Woohoo!
2006-03-01 14:26:03 +00:00
Eelco Dolstra
089c41a0c2
* Oops!
2006-03-01 14:17:00 +00:00
Eelco Dolstra
ca0b23c831
* Test the nix-store --gc subflags.
2006-03-01 14:00:27 +00:00
Eelco Dolstra
5cb6c42088
* Test nix-build. This also tests indirect roots.
2006-03-01 13:49:12 +00:00
Eelco Dolstra
8cd646b6af
* Clear the substitutes prior to running the test.
2006-03-01 13:33:12 +00:00
Eelco Dolstra
e48bd8c8b5
* Add a test for nix-log2xml.
2006-03-01 13:25:08 +00:00
Eelco Dolstra
84c4631221
* Simplification.
2006-03-01 12:51:18 +00:00
Eelco Dolstra
a4c63c6e8e
* Make it easy to run individual tests from the command line.
2006-03-01 12:15:33 +00:00
Eelco Dolstra
9d3bee50ad
* Aha!
2006-02-22 15:20:11 +00:00
Eelco Dolstra
17f39049cf
* WTF?
2006-02-22 15:09:47 +00:00
Eelco Dolstra
f0d6318dd1
* More tests.
2006-02-22 14:02:44 +00:00
Eelco Dolstra
ddb78dfc3d
* Check whether "nix-store -q --graph" generates a valid dot graph.
...
* Test "nix-store -q --tree" as well.
2006-02-22 13:55:41 +00:00
Eelco Dolstra
7a3e715980
* Fix for NIX-31: "nix-env -i foo" installing all derivations named
...
foo. Now it will only install the one with the highest version
number.
2006-02-17 17:47:54 +00:00
Eelco Dolstra
58fc420b36
* And another test.
2006-02-17 17:05:34 +00:00
Eelco Dolstra
4ddd5ff39c
* Regression test for NIX-31.
2006-02-17 17:03:19 +00:00
Eelco Dolstra
da0a6b6499
* Doh.
2006-02-12 21:00:36 +00:00
Eelco Dolstra
f8aadf14c3
* Test-driven development, woohoo! nix-env should work on functions,
...
provided that all arguments have defaults.
2006-02-08 15:21:57 +00:00
Eelco Dolstra
e771e59178
* Tests for nix-env, finally!
2006-02-08 14:32:06 +00:00
Eelco Dolstra
5144f750c4
* Typo.
2005-12-15 17:04:02 +00:00
Eelco Dolstra
ab5c6bb3a3
* Change referer' to
referrer' throughout. In particular, the
...
nix-store query options `--referer' and `--referer-closure' have
been changed to `--referrer' and `--referrer-closure' (but the old
ones are still accepted for compatibility).
2005-12-13 21:04:48 +00:00
Eelco Dolstra
18bbcb1214
* Add a test to demonstrate the quadratic complexity of referrer
...
(de)registration, in particular garbage collection (NIX-23).
2005-12-11 19:25:48 +00:00
Eelco Dolstra
44409f52c1
* "Fix" the test, since we cannot feasibly support the intended semantics.
2005-11-17 11:58:22 +00:00
Eelco Dolstra
1f285cf556
* Scoping bug in `with'.
2005-11-04 14:50:33 +00:00
Eelco Dolstra
deb75bb414
* Remove debugging code.
2005-09-13 15:54:36 +00:00
Eelco Dolstra
116e939d57
* More debugging.
2005-09-13 14:07:22 +00:00
Eelco Dolstra
55b84357a1
* Debugging.
2005-09-13 13:17:14 +00:00
Eelco Dolstra
991a130b1e
* Added a list concatenation operator:
...
[1 2 3] ++ [4 5 6] => [1 2 3 4 5 6]
2005-07-25 15:05:34 +00:00
Eelco Dolstra
33efb52e02
* Hack to get around the libtool wrapper script around nix-store not
...
working when PATH is unset.
2005-07-25 07:25:18 +00:00
Eelco Dolstra
040140dd1c
* Added a primop `removeAttrs' to remove attributes from a set, e.g.,
...
`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-05-18 17:19:21 +00:00
Eelco Dolstra
d8cda7c3dc
* Mac OS X (and POSIX) doesn't have readlink.
2005-05-06 14:43:14 +00:00
Eelco Dolstra
c702dfca3f
* nix-store: --substitute' ->
--register-substitutes'.
2005-04-08 13:48:41 +00:00
Eelco Dolstra
7d876f8fa7
* Get rid of fetchurl, we don't need it anymore.
2005-04-07 14:35:44 +00:00