about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2004-10-31 * Document setuid Nix installs.Eelco Dolstra2-7/+46
2004-10-31 * Add figures to `make install' / `make dist'.Eelco Dolstra3-2/+6
2004-10-29 * Began adding build farm docs.Eelco Dolstra3-0/+132
2004-10-25 * New language feature: with expressions.Eelco Dolstra1-13/+21
The expression `with E1; E2' evaluates to E2 with all bindings in the attribute set E1 substituted. E.g., with {x = 123;}; x evaluates to 123. That is, the attribute set E1 is in scope in E2. This is particularly useful when importing files containing lots definitions. E.g., instead of let { inherit (import ./foo.nix) a b c d e f; body = ... a ... f ...; } we can now say with import ./foo.nix; ... a ... f ... I.e., we don't have to say what variables should be brought into scope.
2004-10-18 * Instead of — use the actual Unicode character. By the way, toEelco Dolstra3-15/+15
edit the manual, you should have something like (modify-coding-system-alist 'file "\\.xml\\>" 'utf-8) in your ~/.emacs.
2004-10-14 * Rewrite of package management stuff.Eelco Dolstra1-200/+161
2004-10-14 * Split overview chapter into a chapter on package management and aEelco Dolstra6-455/+384
chapter on writing Nix expressions.
2004-10-14 * Unindent.Eelco Dolstra1-164/+126
2004-10-13 * Updated the quick start section. Use channels instead ofEelco Dolstra1-105/+83
downloading Nix expressions and calling nix-pull. This is so user-friendly that even a Mac user can do it! :-)
2004-10-13 * Better introduction.Eelco Dolstra3-120/+123
* Set notes in a different color than warnings.
2004-09-09 * Use setre[ug]id() instead of setres[ug]id(), since the former isEelco Dolstra2-26/+79
more common than the latter (which exists only on Linux and FreeBSD). We don't really care about dropping the saved IDs since there apparently is no way to quiry them in any case, so it can't influence the build (unlike the effective IDs which are checked by Perl for instance).
2004-08-25 * `--min-age' flag in nix-store and nix-collect-garbage to only deleteEelco Dolstra2-0/+23
unreachable paths that haven't been used for N hours. For instance, `nix-collect-garbage --min-age 168' only deletes paths that haven't been accessed in the last week. This is useful for instance in the build farm where many derivations can be shared between consecutive builds, and we wouldn't want a garbage collect to throw them all away. We could of course register them as roots, but then we'd to unregister them at some point, which would be a pain to manage. The `--min-age' flag gives us a sort of MRU caching scheme. BUG: this really shouldn't be in gc.cc since that violates mechanism/policy separation.
2004-08-25 * `nix-collect-garbage' now actually performs a garbage collection, itEelco Dolstra3-41/+88
doesn't just print the set of paths that should be deleted. So there is no more need to pipe the result into `nix-store --delete' (which doesn't even exist anymore).
2004-08-18 * The default verbosity level of all Nix commands is now lvlInfo.Eelco Dolstra2-9/+8
* Builder output is written to standard error by default. * The option `-B' is gone. * The option `-Q' suppresses builder output. The result of this is that most Nix invocations shouldn't need any flags w.r.t. logging.
2004-06-28 * By default, `nix-env -i' now deletes previously installedEelco Dolstra1-0/+37
derivations with names matching the derivations being installed. The option `--preserve-installed / -P' overrides this behaviour.
2004-06-28 * `nix-env -u' now allows a specific version to be specified whenEelco Dolstra1-0/+3
upgrading. This fixes a bug reported by Martin: $ nix-env -i foo-1.0 $ nix-env -u foo-1.0 upgrading foo-1.0 to foo-1.1
2004-06-28 * Added a switch `--fallback'. From the manual:Eelco Dolstra2-0/+26
Whenever Nix attempts to realise a derivation for which a closure is already known, but this closure cannot be realised, fall back on normalising the derivation. The most common scenario in which this is useful is when we have registered substitutes in order to perform binary distribution from, say, a network repository. If the repository is down, the realisation of the derivation will fail. When this option is specified, Nix will build the derivation instead. Thus, binary installation falls back on a source installation. This option is not the default since it is generally not desirable for a transient failure in obtaining the substitutes to lead to a full build from source (with the related consumption of resources).
2004-06-25 * A flag `--keep-going / -k' to keep building goals if one fails, asEelco Dolstra2-0/+36
much as possible. (This is similar to GNU Make's `-k' flag.) * Refactoring to implement this: previously we just bombed out when a build failed, but now we have to clean up. In particular this means that goals must be freed quickly --- they shouldn't hang around until the worker exits. So the worker now maintains weak pointers in order not to prevent garbage collection. * Documented the `-k' and `-j' flags.
2004-04-26 * Only add `-preRELEASE' to the version if STABLE != 1.Eelco Dolstra1-0/+30
* Documented release procedures.
2004-04-08 * Documented the primops.Eelco Dolstra2-3/+102
2004-04-08 * EBNF grammar for the Nix expression language.Eelco Dolstra3-4/+193
2004-02-10 * Lots of manual stuff. Reference pages for most Nix commands.Eelco Dolstra12-20/+674
* 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 * Documented the most important nix-env flags.Eelco Dolstra2-5/+448
2004-02-06 * Improvements to profiles. Generations are now per-profile, e.g.,Eelco Dolstra4-27/+29
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-02 * Sort `nix-env -q' output by derivation name.Eelco Dolstra7-45/+55
* `--version' flag for all commands. * Manual updates.
2004-01-30 * Detect flex and bison; updated the manual.Eelco Dolstra2-21/+38
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-20 * Fixed URL.Eelco Dolstra1-1/+1
2004-01-20 * Nix Quick Start guide.Eelco Dolstra5-4/+142
2004-01-20 * Manual updates.Eelco Dolstra3-39/+120
* Updated the README. Now it just refers to the manual.
2004-01-13 * Option `-B' to always show the output of builders, regardless ofEelco Dolstra3-0/+18
verbosity level.
2004-01-09 * Option `--force-realise' in `nix-store --query'.Eelco Dolstra3-69/+86
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 * 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
2003-12-30 * RPM spec file.Eelco Dolstra1-3/+3
* Respect DESTDIR variable.
2003-12-21 * Oops.Eelco Dolstra2-0/+17
2003-12-21 * Man pages in sections.Eelco Dolstra4-7/+14
2003-12-03 * Get rid of the icons in warnings etc.Eelco Dolstra1-12/+1
2003-12-02 * Epigraph ;-)Eelco Dolstra2-0/+11
2003-12-02 * A nice stylesheet for the manual.Eelco Dolstra3-8/+212
2003-12-01 * Manual fixes (thanks to Merijn).Eelco Dolstra1-7/+7
2003-11-27 * Manual updates.Eelco Dolstra3-8/+175
2003-11-26 * Overview of nix-env. Recommended reading. :-)Eelco Dolstra1-4/+220
2003-11-26 * Updates.Eelco Dolstra4-1/+59