about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2004-02-02 * Added syntactic sugar to the construction of attribute sets toEelco Dolstra6-41/+78
`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 Dolstra11-56/+83
* `--version' flag for all commands. * Manual updates.
2004-01-30 * Doh!Eelco Dolstra1-1/+3
2004-01-30 * Parser numbers again.Eelco Dolstra3-2/+6
* Include missing files in distributions.
2004-01-30 * Detect flex and bison; updated the manual.Eelco Dolstra5-54/+48
2004-01-30 * Replaced the SDF parser by a substantially faster Bison/FlexEelco Dolstra6-251/+260
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 Dolstra2-94/+15
2004-01-22 * Explicitly compute the release name.Eelco Dolstra1-0/+3
2004-01-22 * Typos.Eelco Dolstra2-3/+3
2004-01-22 * Added a note about adding /nix/etc/profile.d/nix.sh to the profile.Eelco Dolstra1-3/+8
2004-01-22 Typos and url losser -> catamaranMartin Bravenboer1-3/+4
2004-01-21 * Extra bit `S' in `--query --status' output: show whether there areEelco Dolstra1-1/+3
any substitutes for the derivation.
2004-01-21 * Fixed a subtle uninitialised variable bug in ATermMaps copied fromEelco Dolstra1-1/+3
ATermMaps. Found thanks to Valgrind!
2004-01-20 * Absolutise the specified path in `--import' and `--profile'.Eelco Dolstra1-2/+2
2004-01-20 * Fixed URL.Eelco Dolstra1-1/+1
2004-01-20 * Nix Quick Start guide.Eelco Dolstra5-4/+142
2004-01-20 * Manual updates.Eelco Dolstra4-74/+124
* Updated the README. Now it just refers to the manual.
2004-01-19 * Ignore exit code from strip.Eelco Dolstra1-1/+1
2004-01-19 * Strip binaries in RPMs.Eelco Dolstra1-0/+1
2004-01-16 * Test whether the symlink, not its target, exists.Eelco Dolstra1-1/+1
2004-01-16 * Doh! Edited `readmanifest.pm' instead of `readmanifest.pm.in'.Eelco Dolstra2-11/+11
2004-01-15 * Remove debug message.Eelco Dolstra1-1/+0
2004-01-15 * Catch SIGINT to terminate cleanly when the user tries to interruptEelco Dolstra13-4/+86
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 Dolstra2-290/+0
2004-01-15 * In `nix-env --query --status', determine the `I' bit by looking atEelco Dolstra1-1/+7
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 Dolstra2-2/+2
* Use curl instead of wget.
2004-01-14 * Improved `nix-push': it now uses HTTP PUT (instead of rsync) to copyEelco Dolstra2-50/+85
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 Dolstra7-1/+27
verbosity level.
2004-01-13 * Periodically checkpoint the log.Eelco Dolstra1-1/+3
2004-01-13 * Tricky: make sure that the accessor count is not reset to 0 ifEelco Dolstra1-1/+5
recovery fails.
2004-01-13 * Print error messages, not debug messages.Eelco Dolstra1-5/+9
2004-01-12 * Changed the extension for store expressions from ".nix" to ".store"Eelco Dolstra1-1/+1
(following the Usenix paper).
2004-01-09 * Option `--force-realise' in `nix-store --query'.Eelco Dolstra4-74/+98
2004-01-08 * Start of nix-env reference.Eelco Dolstra5-16/+215
* Some CSS tweaks.
2004-01-08 * Manual updates.Eelco Dolstra7-250/+342
2004-01-08 * Include version number in manual.Eelco Dolstra3-4/+12
2004-01-07 * Upgraded to Berkeley DB 4.2.52. The main advantage of 4.2 is thatEelco Dolstra2-6/+7
it automatically removes log files when they are no longer needed. *** IMPORTANT *** If you have an existing Nix installation, you must checkpoint the Nix database to prevent recent transactions from being undone. Do the following: - optional: make a backup of $prefix/var/nix/db. - run `db_checkpoint' from Berkeley DB 4.1: $ db_checkpoint -h $prefix/var/nix/db -1 - optional (?): run `db_recover' from Berkeley DB 4.1: $ db_recover -h $prefix/var/nix/db - remove $prefix/var/nix/db/log* and $prefix/var/nix/db/__db*
2004-01-07 * Include images/ in distribution.Eelco Dolstra1-1/+1
2004-01-06 * book -> manualEelco Dolstra2-12/+12
2004-01-06 * Install images.Eelco Dolstra1-1/+9
2004-01-05 * Implemented Eelco V.'s `nix-env -I' command to specify the defaultEelco Dolstra7-42/+86
path of the Nix expression to be used with the import, upgrade, and query commands. For instance, $ nix-env -I ~/nixpkgs/pkgs/system/i686-linux.nix $ nix-env --query --available [aka -qa] sylpheed-0.9.7 bison-1.875 pango-1.2.5 subversion-0.35.1 ... $ nix-env -i sylpheed $ nix-env -u subversion There can be only one default at a time. * If the path to a Nix expression is a symlink, follow the symlink prior to resolving relative path references in the expression.
2004-01-05 * Implemented Eelco V.'s `-p' command to switch profiles. It switchesEelco Dolstra3-18/+33
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: $ nix-env -l my_profile -i foo.nix subversion quake $ nix-env -p my_profile I don't like the term "profile". Let's deprecate it :-)
2004-01-02 * RPM sucks.Eelco Dolstra1-2/+2
2004-01-02 * Generate RPM spec file.Eelco Dolstra4-7/+12
2004-01-02 * Add $prefix/store to the RPM.Eelco Dolstra2-1/+2
* Allow extra flags to be passed to RPM.
2003-12-30 * RPM spec file.Eelco Dolstra8-32/+76
* Respect DESTDIR variable.
2003-12-23 * nix-pull requires libexecdir to be substituted.Eelco Dolstra1-0/+1
2003-12-23 * Fixed a bug in the upgrade operation.Eelco Dolstra1-11/+13
2003-12-22 * GCC 2.95 compatibility.Eelco Dolstra6-3/+29
2003-12-22 * Upgrade operation in `nix-env'. For instance, you can sayEelco Dolstra2-24/+165
nix-env -u foo.nix strategoxt to replace the installed `strategoxt' derivation with the one from `foo.nix', if the latter has a higher version number. This is a no-op if `strategoxt' is not installed. Wildcards are also accepted, so nix-env -u foo.nix '*' will replace any installed derivation with newer versions from `foo.nix', if available. The notion of "version number" is somewhat ad hoc, but should be useful in most cases, as evidenced by the following unit tests for the version comparator: TEST("1.0", "2.3", -1); TEST("2.1", "2.3", -1); TEST("2.3", "2.3", 0); TEST("2.5", "2.3", 1); TEST("3.1", "2.3", 1); TEST("2.3.1", "2.3", 1); TEST("2.3.1", "2.3a", 1); TEST("2.3pre1", "2.3", -1); TEST("2.3pre3", "2.3pre12", -1); TEST("2.3a", "2.3c", -1); TEST("2.3pre1", "2.3c", -1); TEST("2.3pre1", "2.3q", -1); (-1 = less, 0 = equal, 1 = greater) * A new verbosity level `lvlInfo', between `lvlError' and `lvlTalkative'. This is the default for `nix-env', so without any `-v' flags users should get useful output, e.g., $ nix-env -u foo.nix strategoxt upgrading `strategoxt-0.9.2' to `strategoxt-0.9.3'