a5619f1dff* Set the NIX_STORE and NIX_BUILD_TOP environment variables in builders to point to the store and the temporary build directory, respectively. Useful for purity checking. * Also set TEMPDIR, TMPDIR, TEMP, and TEMP to NIX_BUILD_TOP to make sure that tools in the builder store temporary files in the right location.
Eelco Dolstra
2004-03-12 10:45:08 +0000
7f0ed370da* Use $(storedir) instead of $(prefix)/store.
Eelco Dolstra
2004-02-20 11:32:30 +0000
dbf547645d* Resolve an ambiguity between ifs and attribute selection, e.g., `if b then x else y.z'.
Eelco Dolstra
2004-02-19 13:11:12 +0000
86b7efbdbe* Don't build ATerm library if we don't need to.
Eelco Dolstra
2004-02-16 16:48:06 +0000
0dfdafdf6d* Allow linking against an external Berkeley DB / ATerm library.
Eelco Dolstra
2004-02-16 16:37:16 +0000
f34de12140* Allow the location of the store to be specified (--with-store-dir). * Do not create stuff in localstatedir when doing `make install' (since we may not have write access). In general, installation of constant code/data should be separate from the initialisation of mutable state.
Eelco Dolstra
2004-02-16 15:23:19 +0000
fbc48a469c* Inherited attributes in recursive attribute sets are in scope of the non-inherited attributes.
Eelco Dolstra
2004-02-16 09:18:35 +0000
76c0e85929* The environment variable NIX_ROOT can now be set to execute Nix in a chroot() environment. * A operation `--validpath' to register path validity. Useful for bootstrapping in a pure Nix environment. * Safety checks: ensure that files involved in store operations are in the store.
Eelco Dolstra
2004-02-14 21:44:18 +0000
1ad9d11247* Only include predecessors that are themselves being pushed. Otherwise the substitute mechanism can break in subtle ways.
Eelco Dolstra
2004-02-13 10:43:31 +0000
00fe1a506f* When creating a new generation, also make the normal form of the derivation (i.e., the closure store expression) a root of the garbage collector. This ensures that running `nix-collect-garbage --no-successors' is safe.
Eelco Dolstra
2004-02-11 10:25:31 +0000
92e832348d* Lots of manual stuff. Reference pages for most Nix commands. * nix-pull now requires the full url to the manifest, i.e., `/MANIFEST/' is no longer automatically appended. * nix-prefetch-url works again.
Eelco Dolstra
2004-02-10 16:14:47 +0000
6551b36790* Print what generation we are switching to; honour --dry-run flag.
Eelco Dolstra
2004-02-10 13:42:58 +0000
0616b7feea* Documented the most important nix-env flags.
Eelco Dolstra
2004-02-10 11:51:16 +0000
618aa69b01* In --upgrade': added flags --lt', --leq', --always' to specify whether we want to upgrade if the current version is less than the available version (default), when it is less or equal, or always.
Eelco Dolstra
2004-02-09 11:59:39 +0000
06a75a7e0c* A command `--switch-generation' to switch to a specific generation of the current profile, e.g.,
Eelco Dolstra
2004-02-08 14:07:43 +0000
b8675aee54* In `--list-generations', show what the current generation is.
Eelco Dolstra
2004-02-06 16:16:55 +0000
73ab2ed4fd* A command `--list-generations' to show all generations for a profile.
Eelco Dolstra
2004-02-06 16:03:27 +0000
7c0fa4474f* More refactoring.
Eelco Dolstra
2004-02-06 14:57:10 +0000
49bafe1faf* Use the profile pointed to by ~/.nix-profile if no --profile argument is specified.
Eelco Dolstra
2004-02-06 10:59:06 +0000
66e94d3275* Improvements to profiles. Generations are now per-profile, e.g.,
Eelco Dolstra
2004-02-06 10:30:20 +0000
d445da7a7b* Extended the `inherit' syntax to optionally select attributes from other attribute sets, rather than the current scope. E.g.,
Eelco Dolstra
2004-02-04 17:23:26 +0000
9d25466b34* An attribute set update operator (//). E.g.,
Eelco Dolstra
2004-02-04 16:49:51 +0000
6d46e647ba* Fixed the old envpkgs filename.
Eelco Dolstra
2004-02-04 16:20:51 +0000
9b44480612* Use a map to lookup primops. * Various performance improvements in the evaluator. * Do not link against unused (and missing!) libraries (-lsglr, etc.).
Eelco Dolstra
2004-02-04 16:03:29 +0000
c4f7ae4aa5* Verify that all variables in a Nix expression are defined.
Eelco Dolstra
2004-02-03 14:45:34 +0000
1c9c0a5a46* Added syntactic sugar to the construction of attribute sets to `inherit' variables from the surrounding lexical scope.
Eelco Dolstra
2004-02-02 21:39:33 +0000
d9f30fe7c7* Sort nix-env -q' output by derivation name. * --version' flag for all commands. * Manual updates.
Eelco Dolstra
2004-02-02 10:51:54 +0000
3c4bc7276a* Added a note about adding /nix/etc/profile.d/nix.sh to the profile.
Eelco Dolstra
2004-01-22 09:17:55 +0000
4f72b408a5Typos and url losser -> catamaran
Martin Bravenboer
2004-01-22 08:47:59 +0000
840551ebdb* Extra bit S' in --query --status' output: show whether there are any substitutes for the derivation.
Eelco Dolstra
2004-01-21 16:41:17 +0000
1109ea0680* Fixed a subtle uninitialised variable bug in ATermMaps copied from ATermMaps. Found thanks to Valgrind!
Eelco Dolstra
2004-01-21 14:49:32 +0000
47f19b6293* Absolutise the specified path in --import' and --profile'.
Eelco Dolstra
2004-01-20 20:36:58 +0000
447089a5f6* Catch SIGINT to terminate cleanly when the user tries to interrupt Nix. This is to prevent Berkeley DB from becoming wedged.
Eelco Dolstra
2004-01-15 20:23:55 +0000
55e11bc0d3* In nix-env --query --status', determine the I' bit by looking at the output path of a derivation, not the path of its store expression. This ensures that changes that affect the path of the store expression but not the output path, do not affect the `installed' state of a derivation.
Eelco Dolstra
2004-01-15 14:43:00 +0000
9a404e45c9* Synchronous nix-pull' with nix-push'. * Use curl instead of wget.
Eelco Dolstra
2004-01-14 14:20:33 +0000
16f9b133ec* Improved `nix-push': it now uses HTTP PUT (instead of rsync) to copy files. Target location is no longer hard-coded; it accepts a number of URLs on the command line.
Eelco Dolstra
2004-01-14 11:13:08 +0000
ff9af107d3* Option `-B' to always show the output of builders, regardless of verbosity level.
Eelco Dolstra
2004-01-13 16:35:43 +0000
3495d153b3* Periodically checkpoint the log.
Eelco Dolstra
2004-01-13 13:37:25 +0000
698e880c9f* Tricky: make sure that the accessor count is not reset to 0 if recovery fails.
Eelco Dolstra
2004-01-13 12:36:43 +0000
5346536b62* Include version number in manual.
Eelco Dolstra
2004-01-08 10:45:23 +0000
7959354379* Upgraded to Berkeley DB 4.2.52. The main advantage of 4.2 is that it automatically removes log files when they are no longer needed.
Eelco Dolstra
2004-01-07 15:53:14 +0000
abe8c8c2aa* Include images/ in distribution.
Eelco Dolstra
2004-01-07 10:59:38 +0000
1ff986d51a* book -> manual
Eelco Dolstra
2004-01-06 16:38:32 +0000
4a373a3e9a* Implemented Eelco V.'s `nix-env -I' command to specify the default path of the Nix expression to be used with the import, upgrade, and query commands. For instance,
Eelco Dolstra
2004-01-05 16:26:43 +0000
f83c5e3e5f* Implemented Eelco V.'s `-p' command to switch profiles. It switches the symlink ~/.nix-userenv to the given argument (which defaults to .../links/current). /etc/profile.d/nix-profile creates this symlink if it doesn't exist yet. Example use:
Eelco Dolstra
2004-01-05 11:18:59 +0000
cf0287c09e* Upgrade operation in `nix-env'. For instance, you can say
Eelco Dolstra
2003-12-22 16:04:00 +0000
f3c9783846* Version numbers can be omitted in install/uninstall. E.g.,
Eelco Dolstra
2003-12-21 23:58:56 +0000
a81b621202* -u' -> -e'. * --link' / -l' flag to specify the switch symlink to use (by default, /nix/var/nix/links/current).
Eelco Dolstra
2003-12-21 22:34:41 +0000
528f1d1867* Bug fix: parallel builds of the same derivation failed due to lock file removal.
Eelco Dolstra
2003-12-21 17:09:16 +0000
06c5a7075d* Refactoring: put the manifest-reading code in a separate file.
Eelco Dolstra
2003-12-05 11:25:38 +0000
cff6fd22eb* Allow successors that don't exist but have a substitute. * Integrity: check in successor / substitute registration whether the target path exists or has a substitute.
Eelco Dolstra
2003-12-05 11:05:19 +0000
feaab52203* Fix for too long command lines when calling `nix-store --register-[substitutes|successors].
Martin Bravenboer
2003-12-04 14:38:31 +0000
00d4f907e1* Get rid of the icons in warnings etc.
Eelco Dolstra
2003-12-03 09:33:03 +0000
5d2b424804* Use a system name that does not include the OS manufacturer (i.e., "i686-linux" instead of "i686-suse-linux").
Eelco Dolstra
2003-12-01 14:36:50 +0000