b857267893* Allow the top-level expression to be a derivation. * Hack: `nix-env -i *' installs all available derivations.
Eelco Dolstra
2003-11-24 11:01:19 +0000
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.
Eelco Dolstra
2003-11-22 18:45:56 +0000
40d9eb14df* Fix the garbage collector.
Eelco Dolstra
2003-11-22 15:58:34 +0000
e0b5a492f5* Installation: add the previously installed packages. Switch to the new configuration. * Status queries.
Eelco Dolstra
2003-11-19 21:32:03 +0000
9898746ef3* nix-env: a tool to manage user environments. * Replace all directory reading code by a generic readDirectory() function.
Eelco Dolstra
2003-11-19 17:27:16 +0000
ac68840e79* Refactoring: put the Nix expression evaluator in its own library so that it can be used by multiple programs.
Eelco Dolstra
2003-11-19 11:35:41 +0000
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.
Eelco Dolstra
2003-11-19 10:04:03 +0000
38946e1378* Forgot this one.
Eelco Dolstra
2003-11-18 12:07:39 +0000
8798fae304* Source tree refactoring.
Eelco Dolstra
2003-11-18 10:47:59 +0000
45610ae675* An forward non-random access input iterator class for ATermLists.
Eelco Dolstra
2003-11-16 18:31:29 +0000
3e5a019a07* Some utility functions for working with ATerms.
Eelco Dolstra
2003-11-16 17:46:31 +0000
06ae269c7c* Do not filter when parsing. This is much faster. * Add some rejections and lexical restrictions to the grammar to make this work.
Eelco Dolstra
2003-11-10 11:00:38 +0000
15801c88fa* Turned the msg() and debug() functions into macros, since they turned out to be a huge performance bottleneck (the text to printed would always be evaluated, even when it was above the verbosity level). This reduces fix-ng execution time by over 50%.
Eelco Dolstra
2003-11-09 10:35:45 +0000
d2e3a132fe* Pass CFLAGS to the subpackages.
Eelco Dolstra
2003-11-09 10:31:56 +0000
e17e95a828* Print a shared textual ATerm if the term if very large. Due to substitutions, Fix terms are very large when printed as trees (in memory, they are quite compact due to sharing).
Eelco Dolstra
2003-11-05 16:20:57 +0000
80bb477cc4* Default function arguments.
Eelco Dolstra
2003-11-05 15:34:12 +0000
0690c1c9c0* Work around problems with the ATerm library.
Eelco Dolstra
2003-11-03 20:30:40 +0000
ff31324278* Ignore options passed to the aterm library.
Eelco Dolstra
2003-11-03 18:21:53 +0000
e2655aa332* Shorter list syntax ([a b c] instead of [a, b, c]).
Eelco Dolstra
2003-11-03 11:59:35 +0000
ad0976f8d5* Grammar changes. Attributes in attribute sets are now delimited with semicolons instead of comma's. Final semicolon in the set is optional.
Eelco Dolstra
2003-11-03 10:21:30 +0000
7db08cc924* Use SGparseString() instead of SGparseFile() because the latter is buggy. It fails to clear an internal variable (SG_textIndex) between invocations, so it can be called only once during a program execution.
Eelco Dolstra
2003-10-31 11:22:56 +0000
403cb9327f* Factor out evaluation into a separate file.
Eelco Dolstra
2003-10-30 16:48:26 +0000
9f8f39aa3c* Clean up the imploded parse tree. Quotes around strings are removed, paths are absolutised relative to the path containing the expression we just parsed, and integer literals are converted to actual integers.
Eelco Dolstra
2003-10-30 16:18:40 +0000
b95a3dc45b* Basic grammar and parser for the Fix language. We use libsglr and friends to do the parsing. The parse table is embedded in the Fix executable using bin2c, which converts an arbitrary file into a C character array.
Eelco Dolstra
2003-10-29 16:05:03 +0000
4d728f6a36* Forked new version of Fix.
Eelco Dolstra
2003-10-29 15:05:18 +0000
f31661a3b5* Add sdf2-bundle to externals.
Eelco Dolstra
2003-10-29 15:04:50 +0000
7102455cba* Don't cache the manifest.
Eelco Dolstra
2003-10-27 18:43:09 +0000
92eea8fc4e* Fix a race condition in addTextToStore().
Eelco Dolstra
2003-10-23 10:51:55 +0000
c4e7d324b8* Use writeFull().
Eelco Dolstra
2003-10-22 13:29:40 +0000
9d95aafe8c* Ad hoc per-package logging. When Nix performs a derivation, it now writes stdout/stderr of the builder to ${prefix}/var/log/nix/x, where x is the file name of the derivation expression, e.g.,
Eelco Dolstra
2003-10-22 11:04:57 +0000
143427f90b* Dead code removal.
Eelco Dolstra
2003-10-22 10:53:46 +0000
4a8948b7a6* Some wrapper classes to ensure that file descriptors / directory handles are closed when they go out of scope.
Eelco Dolstra
2003-10-22 10:48:22 +0000
c62433751d* Finished refactoring the tree.
Eelco Dolstra
2003-10-20 10:05:01 +0000
53e376d836* Refactored the source tree.
Eelco Dolstra
2003-10-20 09:20:11 +0000
a0a7a4e087* Remove some debug output.
Eelco Dolstra
2003-10-16 19:24:04 +0000
0791282b2f* Substitutes and nix-pull now work again. * Fixed a segfault caused by the buffering of stderr. * Fix now allows the specification of the full output path. This should be used with great care, since it by-passes the normal hash generation. * Incremented the version number to 0.4 (prerelease).
Eelco Dolstra
2003-10-16 16:29:57 +0000
ab5e8767fa* Get nix-push to work again. * Fixed svn:ignore on externals/.
Eelco Dolstra
2003-10-16 13:13:39 +0000
c78bf11524* Enable buffering of stderr in C++.
Eelco Dolstra
2003-10-16 11:55:37 +0000
f7c7aad135* Upgraded to Berkeley DB 4.1.25 and do not synchronously flush the log on commit. This means that there is a small change that some transactions may be rolled back in case of a system crash, but this should not be a problem (it merely might cause some expression realisations to be rolled back), and it vastly improves performance.
Eelco Dolstra
2003-10-16 08:52:44 +0000
181aa3dc41* Don't sort the result of `--query --list'.
Eelco Dolstra
2003-10-16 08:06:19 +0000
ebff82222c* Refactoring: move all database manipulation into store.cc. * Removed `--query --generators'.
Eelco Dolstra
2003-10-15 12:42:39 +0000
5fc7127643* Keep sources (derivation expression) by default, `--no-source' to override.
Eelco Dolstra
2003-10-15 10:34:50 +0000
c190f051ac* Automatically recover the database in case of a crash.
Eelco Dolstra
2003-10-14 15:33:00 +0000
1d61e473c8* New query `nix --query --predecessors' to print the predecessors of a Nix expression.
Eelco Dolstra
2003-10-10 15:25:21 +0000
0abe185688* `nix --verify': check and repair reverse mapping for successors.
Eelco Dolstra
2003-10-10 15:14:29 +0000
d3d5e77810* Reverse mappings for the successor and substitute mappings.
Eelco Dolstra
2003-10-10 14:46:28 +0000
1eb4da156c* Performance improvement: don't register already registered terms, thus greatly reducing the number of db transactions.
Eelco Dolstra
2003-10-10 13:22:29 +0000
08b7319f5b* Follow successors by default (use `--no-successors' to override).
Eelco Dolstra
2003-10-09 15:38:31 +0000
5d4171f7fb* Synchronise terminology with the ICSE paper (e.g., slice -> closure, fstate -> Nix expression). * Fix src/test.cc.
Eelco Dolstra
2003-10-07 12:27:49 +0000
563afb7fcc* Use passive FTP in wget.
Eelco Dolstra
2003-10-02 15:48:47 +0000
e78f753aa8* Include the right files in a distribution.
Eelco Dolstra
2003-10-02 12:22:19 +0000
4193d62e08* Nix now respects $TMPDIR for the creation of temporary build directories. * Retry creation of a temporary directory (with a different name) in the case of EEXIST.
Eelco Dolstra
2003-10-02 11:55:38 +0000