aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-02-10* Lots of manual stuff. Reference pages for most Nix commands.Eelco Dolstra
* nix-pull now requires the full url to the manifest, i.e., `/MANIFEST/' is no longer automatically appended. * nix-prefetch-url works again.
2004-02-10* Print what generation we are switching to; honour --dry-run flag.Eelco Dolstra
2004-02-10* Documented the most important nix-env flags.Eelco Dolstra
2004-02-09* In `--upgrade': added flags `--lt', `--leq', `--always' to specifyEelco Dolstra
whether we want to upgrade if the current version is less than the available version (default), when it is less or equal, or always. * Added a flag `--dry-run' to show what would happen in `--install', `--uninstall', and `--upgrade', without actually performing the operation.
2004-02-08* A command `--switch-generation' to switch to a specific generationEelco Dolstra
of the current profile, e.g., $ nix-env --list-generations ... 39 2004-02-02 17:53:53 40 2004-02-02 17:55:18 41 2004-02-02 17:55:41 42 2004-02-02 17:55:50 (current) $ nix-env --switch-generation 39 $ ls -l /nix/var/nix/profiles/default ... default -> default-39-link * Also a command `--rollback' which is just a convenience operation to rollback to the oldest generation younger than the current one. Note that generations properly form a tree. E.g., if after switching to generation 39, we perform an installation action, a generation 43 is created which is a descendant of 39, not 42. So a rollback from 43 ought to go back to 39. This is not currently implemented; generations form a linear sequence.
2004-02-06* In `--list-generations', show what the current generation is.Eelco Dolstra
2004-02-06* A command `--list-generations' to show all generations for aEelco Dolstra
profile.
2004-02-06* More refactoring.Eelco Dolstra
2004-02-06* Refactoring.Eelco Dolstra
2004-02-06* Use the profile pointed to by ~/.nix-profile if no --profileEelco Dolstra
argument is specified.
2004-02-06* Improvements to profiles. Generations are now per-profile, e.g.,Eelco Dolstra
default -> default-94-link default-82-link -> /nix/store/cc4480... default-83-link -> /nix/store/caeec8... ... default-94-link -> /nix/store/2896ca... experimental -> experimental-2-link experimental-1-link -> /nix/store/cc4480... experimental-2-link -> /nix/store/a3148f... * `--profile' / `-p' -> `--switch-profile' / `-S' * `--link' / `-l' -> `--profile' / `-p' * The default profile is stored in $prefix/var/nix/profiles. $prefix/var/nix/links is gone. Profiles can be stored anywhere. * The current profile is now referenced from ~/.nix-profile, not ~/.nix-userenv. * The roots to the garbage collector now have extension `.gcroot', not `.id'.
2004-02-04* Extended the `inherit' syntax to optionally select attributes fromEelco Dolstra
other attribute sets, rather than the current scope. E.g., {inherit (pkgs) gcc binutils;} is equivalent to {gcc = pkgs.gcc; binutils = pkgs.binutils;} I am not so happy about the syntax.
2004-02-04* An attribute set update operator (//). E.g.,Eelco Dolstra
{x=1; y=2; z=3;} // {y=4;} => {x=1; y=4; z=3;}
2004-02-04* Fixed the old envpkgs filename.Eelco Dolstra
2004-02-04* Use a map to lookup primops.Eelco Dolstra
* Various performance improvements in the evaluator. * Do not link against unused (and missing!) libraries (-lsglr, etc.).
2004-02-03* Verify that all variables in a Nix expression are defined.Eelco Dolstra
2004-02-02* Added syntactic sugar to the construction of attribute sets toEelco Dolstra
`inherit' variables from the surrounding lexical scope. E.g., {stdenv, libfoo}: derivation { builder = ./bla; inherit stdenv libfoo; xyzzy = 1; } is equivalent to {stdenv, libfoo}: derivation { builder = ./bla; stdenv = stdenv; libfoo = libfoo; xyzzy = 1; } Note that for mutually recursive attribute set definitions (`rec {...}'), this also works, that is, `rec {inherit x;}' is equivalent to `let {fresh = x; body = rec {x = fresh;};}', *not* `rec {x = x}'.
2004-02-02* Sort `nix-env -q' output by derivation name.Eelco Dolstra
* `--version' flag for all commands. * Manual updates.
2004-01-30* Doh!Eelco Dolstra
2004-01-30* Parser numbers again.Eelco Dolstra
* Include missing files in distributions.
2004-01-30* Detect flex and bison; updated the manual.Eelco Dolstra
2004-01-30* Replaced the SDF parser by a substantially faster Bison/FlexEelco Dolstra
parser (roughly 80x faster). The absolutely latest version of Bison (1.875c) is required for reentrant GLR support, as well as a recent version of Flex (say, 2.5.31). Note that most Unix distributions ship with the prehistoric Flex 2.5.4, which doesn't support reentrancy.
2004-01-29* Optimised the SDF grammar.Eelco Dolstra
2004-01-22* Explicitly compute the release name.Eelco Dolstra
2004-01-22* Typos.Eelco Dolstra
2004-01-22* Added a note about adding /nix/etc/profile.d/nix.sh to the profile.Eelco Dolstra
2004-01-22Typos and url losser -> catamaranMartin Bravenboer
2004-01-21* Extra bit `S' in `--query --status' output: show whether there areEelco Dolstra
any substitutes for the derivation.
2004-01-21* Fixed a subtle uninitialised variable bug in ATermMaps copied fromEelco Dolstra
ATermMaps. Found thanks to Valgrind!
2004-01-20* Absolutise the specified path in `--import' and `--profile'.Eelco Dolstra
2004-01-20* Fixed URL.Eelco Dolstra
2004-01-20* Nix Quick Start guide.Eelco Dolstra
2004-01-20* Manual updates.Eelco Dolstra
* Updated the README. Now it just refers to the manual.
2004-01-19* Ignore exit code from strip.Eelco Dolstra
2004-01-19* Strip binaries in RPMs.Eelco Dolstra
2004-01-16* Test whether the symlink, not its target, exists.Eelco Dolstra
2004-01-16* Doh! Edited `readmanifest.pm' instead of `readmanifest.pm.in'.Eelco Dolstra
2004-01-15* Remove debug message.Eelco Dolstra
2004-01-15* Catch SIGINT to terminate cleanly when the user tries to interruptEelco Dolstra
Nix. This is to prevent Berkeley DB from becoming wedged. Unfortunately it is not possible to throw C++ exceptions from a signal handler. In fact, you can't do much of anything except change variables of type `volatile sig_atomic_t'. So we set an interrupt flag in the signal handler and check it at various strategic locations in the code (by calling checkInterrupt()). Since this is unlikely to cover all cases (e.g., (semi-)infinite loops), sometimes SIGTERM may now be required to kill Nix.
2004-01-15* Obsolete.Eelco Dolstra
2004-01-15* In `nix-env --query --status', determine the `I' bit by looking atEelco Dolstra
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.
2004-01-14* Synchronous `nix-pull' with `nix-push'.Eelco Dolstra
* Use curl instead of wget.
2004-01-14* Improved `nix-push': it now uses HTTP PUT (instead of rsync) to copyEelco Dolstra
files. Target location is no longer hard-coded; it accepts a number of URLs on the command line. * `nix-install-package': compatibility fixes.
2004-01-13* Option `-B' to always show the output of builders, regardless ofEelco Dolstra
verbosity level.
2004-01-13* Periodically checkpoint the log.Eelco Dolstra
2004-01-13* Tricky: make sure that the accessor count is not reset to 0 ifEelco Dolstra
recovery fails.
2004-01-13* Print error messages, not debug messages.Eelco Dolstra
2004-01-12* Changed the extension for store expressions from ".nix" to ".store"Eelco Dolstra
(following the Usenix paper).
2004-01-09* Option `--force-realise' in `nix-store --query'.Eelco Dolstra
2004-01-08* Start of nix-env reference.Eelco Dolstra
* Some CSS tweaks.