about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
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 Dolstra2-0/+24
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 :-)
2003-12-30 * RPM spec file.Eelco Dolstra1-8/+8
* Respect DESTDIR variable.
2003-12-23 * Fixed a bug in the upgrade operation.Eelco Dolstra1-11/+13
2003-12-22 * GCC 2.95 compatibility.Eelco Dolstra5-3/+13
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'
2003-12-21 * Version numbers can be omitted in install/uninstall. E.g.,Eelco Dolstra2-34/+106
nix-env -i foo.nix subversion The version number part of a derivation name is defined as everything following the first dash not followed by a letter.
2003-12-21 * `-u' -> `-e'.Eelco Dolstra2-39/+58
* `--link' / `-l' flag to specify the switch symlink to use (by default, /nix/var/nix/links/current).
2003-12-21 * Bug fix: parallel builds of the same derivation failed due to lock file ↵Eelco Dolstra1-3/+5
removal.
2003-12-05 * Allow successors that don't exist but have a substitute.Eelco Dolstra1-34/+73
* Integrity: check in successor / substitute registration whether the target path exists or has a substitute.
2003-12-02 * Add missing files to `make dist'.Eelco Dolstra3-3/+3
2003-12-02 * Regression fix: query flags (e.g., "-qsf") were broken.Eelco Dolstra1-0/+2
2003-12-01 * Help text for all (non-script) programs, so no more:Eelco Dolstra13-31/+125
$ nix-instantiate --help error: unknown flag `--help` Try `nix-instantiate --help' for more information. :-)
2003-12-01 * Fix `make check'.Eelco Dolstra1-1/+1
2003-12-01 * Use a system name that does not include the OS manufacturer (i.e.,Eelco Dolstra2-2/+2
"i686-linux" instead of "i686-suse-linux").
2003-11-25 * Another fix.Eelco Dolstra1-1/+1
2003-11-25 * More `make dist' fixes.Eelco Dolstra6-18/+14
2003-11-25 * `make dist' fix.Eelco Dolstra1-8/+1
2003-11-25 * Allow integer bindings in derivations.Eelco Dolstra4-1/+25
2003-11-24 * Allow the top-level expression to be a derivation.Eelco Dolstra1-13/+18
* Hack: `nix-env -i *' installs all available derivations.
2003-11-24 * Bug fix in path invalidation.Eelco Dolstra1-23/+41
* More consistency checks.
2003-11-22 * Don't use a hard-coded path.Eelco Dolstra1-1/+1
2003-11-22 * Fix nix-push.Eelco Dolstra1-2/+2
2003-11-22 * Maintain integrity of the substitute and successor mappings whenEelco Dolstra7-78/+114
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 * Fix the garbage collector.Eelco Dolstra4-9/+20
2003-11-21 * Remove lock files after building. Eelco Dolstra3-1/+20
2003-11-21 * Uninstallation.Eelco Dolstra2-8/+19
2003-11-20 * Uninstall command (doesn't work yet).Eelco Dolstra1-36/+81
2003-11-19 * Installation: add the previously installed packages. Switch to the new Eelco Dolstra1-20/+112
configuration. * Status queries.
2003-11-19 * nix-env: a tool to manage user environments.Eelco Dolstra13-51/+330
* Replace all directory reading code by a generic readDirectory() function.
2003-11-19 * Refactoring (step 2).Eelco Dolstra5-10/+16
2003-11-19 * Refactoring: put the Nix expression evaluator in its own library soEelco Dolstra14-1/+2
that it can be used by multiple programs.
2003-11-19 * Use `sdftable -s' to get warnings about the grammar.Eelco Dolstra3-14/+20
* Several bug fixes in the grammar. * Allow one-line comments (#... and //...) to end in EOF.
2003-11-18 * "Fix expression" -> "Nix expression".Eelco Dolstra14-32/+27
* More refactoring.
2003-11-18 * nix -> nix-store, fix -> nix-instantiate.Eelco Dolstra20-9/+301
2003-11-18 * "Nix expression" -> "store expression".Eelco Dolstra20-119/+121
* More refactoring.
2003-11-18 * libnix -> libstore.Eelco Dolstra25-11/+11
2003-11-18 * Source tree refactoring.Eelco Dolstra20-511/+30
2003-11-16 * An forward non-random access input iterator class for ATermLists.Eelco Dolstra6-88/+68
2003-11-16 * Some utility functions for working with ATerms.Eelco Dolstra14-175/+363
2003-11-10 * Do not filter when parsing. This is much faster.Eelco Dolstra2-0/+7
* Add some rejections and lexical restrictions to the grammar to make this work.
2003-11-09 * Turned the msg() and debug() functions into macros, since theyEelco Dolstra10-45/+60
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%. gprof(1) is very useful. :-)
2003-11-06 * Allow null in derivation bindings.Eelco Dolstra1-0/+2
2003-11-06 * `null' is a nullary primop.Eelco Dolstra3-5/+4
2003-11-06 * Allow `+' in path names.Eelco Dolstra1-1/+1
2003-11-05 * Assertions.Eelco Dolstra6-16/+77
* Logical operators (!, &&, ||, ->).
2003-11-05 * Print a shared textual ATerm if the term if very large. Due to Eelco Dolstra1-1/+9
substitutions, Fix terms are very large when printed as trees (in memory, they are quite compact due to sharing).
2003-11-05 * Default function arguments.Eelco Dolstra3-9/+17
2003-11-03 * Work around problems with the ATerm library.Eelco Dolstra5-55/+182
The ATerm library doesn't search the heap for pointers to ATerms when garbage collecting. As a result, C++ containers such as `map<ATerm, ATerm>' will cause pointer to be hidden from the garbage collector, causing crashes. Instead, we now use ATermTables.
2003-11-03 * Ignore options passed to the aterm library.Eelco Dolstra1-2/+5