aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
AgeCommit message (Collapse)Author
2004-10-25* New language feature: with expressions.Eelco Dolstra
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 Dolstra
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 Dolstra
2004-10-14* Split overview chapter into a chapter on package management and aEelco Dolstra
chapter on writing Nix expressions.
2004-10-14* Unindent.Eelco Dolstra
2004-10-13* Updated the quick start section. Use channels instead ofEelco Dolstra
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 Dolstra
* Set notes in a different color than warnings.
2004-09-09* Use setre[ug]id() instead of setres[ug]id(), since the former isEelco Dolstra
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 Dolstra
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 Dolstra
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 Dolstra
* 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 Dolstra
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 Dolstra
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 Dolstra
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 Dolstra
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-08* Documented the primops.Eelco Dolstra
2004-04-08* EBNF grammar for the Nix expression language.Eelco Dolstra
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* Documented the most important nix-env flags.Eelco Dolstra
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-02* Sort `nix-env -q' output by derivation name.Eelco Dolstra
* `--version' flag for all commands. * Manual updates.
2004-01-30* Detect flex and bison; updated the manual.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-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-13* Option `-B' to always show the output of builders, regardless ofEelco Dolstra
verbosity level.
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.
2004-01-08* Manual updates.Eelco Dolstra
2004-01-08* Include version number in manual.Eelco Dolstra
2004-01-07* Include images/ in distribution.Eelco Dolstra
2004-01-06* book -> manualEelco Dolstra
2004-01-06* Install images.Eelco Dolstra
2003-12-30* RPM spec file.Eelco Dolstra
* Respect DESTDIR variable.
2003-12-21* Oops.Eelco Dolstra
2003-12-21* Man pages in sections.Eelco Dolstra
2003-12-03* Get rid of the icons in warnings etc.Eelco Dolstra
2003-12-02* Epigraph ;-)Eelco Dolstra
2003-12-02* A nice stylesheet for the manual.Eelco Dolstra
2003-12-01* Manual fixes (thanks to Merijn).Eelco Dolstra
2003-11-27* Manual updates.Eelco Dolstra
2003-11-26* Overview of nix-env. Recommended reading. :-)Eelco Dolstra
2003-11-26* Updates.Eelco Dolstra
2003-11-26* Updates.Eelco Dolstra
2003-11-26* Refactoring.Eelco Dolstra
* Convert tabs to spaces.
2003-11-26* Minor fix.Eelco Dolstra
2003-11-26* Configure flags to specify the location of the DocBook DTD / stylesheets.Eelco Dolstra