Eelco Dolstra
638ce339a5
* Nix-instantiate now accepts sets of derivations (just like nix-env).
2004-07-01 14:25:26 +00:00
Eelco Dolstra
59b94ee18a
* When something goes wrong in the evaluation of a Nix expression,
...
print a nice backtrace of the stack, rather than vomiting a gigantic
(and useless) aterm on the screen. Example:
error: while evaluating file `.../pkgs/system/test.nix':
while evaluating attribute `subversion' at `.../pkgs/system/all-packages-generic.nix', line 533:
while evaluating function at `.../pkgs/applications/version-management/subversion/default.nix', line 1:
assertion failed at `.../pkgs/applications/version-management/subversion/default.nix', line 13
Since the Nix expression language is lazy, the trace may be
misleading. The purpose is to provide a hint as to the location of
the problem.
2004-04-05 22:27:41 +00:00
Eelco Dolstra
0dfdafdf6d
* Allow linking against an external Berkeley DB / ATerm library.
2004-02-16 16:37:16 +00:00
Eelco Dolstra
9b44480612
* Use a map to lookup primops.
...
* Various performance improvements in the evaluator.
* Do not link against unused (and missing!) libraries (-lsglr, etc.).
2004-02-04 16:03:29 +00:00
Eelco Dolstra
0d3a1a8582
* Add missing files to `make dist'.
2003-12-02 12:37:37 +00:00
Eelco Dolstra
078e20885e
* Help text for all (non-script) programs, so no more:
...
$ nix-instantiate --help
error: unknown flag `--help`
Try `nix-instantiate --help' for more information.
:-)
2003-12-01 15:55:05 +00:00
Eelco Dolstra
9486dda115
* Fix nix-push.
2003-11-22 20:39:51 +00:00
Eelco Dolstra
ab0bc4999a
* Maintain integrity of the substitute and successor mappings when
...
deleting a path in the store.
* Allow absolute paths in Nix expressions.
* Get nix-prefetch-url to work again.
* Various other fixes.
2003-11-22 18:45:56 +00:00
Eelco Dolstra
fd7ac09f10
* Refactoring (step 2).
2003-11-19 12:03:01 +00:00
Eelco Dolstra
ac68840e79
* Refactoring: put the Nix expression evaluator in its own library so
...
that it can be used by multiple programs.
2003-11-19 11:35:41 +00:00
Eelco Dolstra
2be8b5917a
* Use `sdftable -s' to get warnings about the grammar.
...
* Several bug fixes in the grammar.
* Allow one-line comments (#... and //...) to end in EOF.
2003-11-19 10:04:03 +00:00
Eelco Dolstra
dfc9c64ead
* "Fix expression" -> "Nix expression".
...
* More refactoring.
2003-11-18 12:06:07 +00:00
Eelco Dolstra
b1117ef29d
* nix -> nix-store, fix -> nix-instantiate.
2003-11-18 11:38:25 +00:00
Eelco Dolstra
2dc84e5569
* Descriptors now have a "system" field specifying the platform that
...
the build or run action should be perfomed on. This ensures that
descriptors have different hashes on different platforms.
2003-03-24 12:49:40 +00:00
Eelco Dolstra
e582ee67cd
* Fetch sources from the network.
2003-03-21 14:10:06 +00:00
Eelco Dolstra
cadc3852e4
* nix-instantiate now instantiantes the closure of the set of
...
descriptor templates under the import relation. I.e., we can now
say:
nix-instantiate outdir foo.nix
which will create descriptors for foo.nix and all imported packages
in outdir/.
2003-03-20 22:23:48 +00:00
Eelco Dolstra
b3594e9eaf
* A script to instantiate package descriptors from templates.
2003-03-20 16:52:30 +00:00