aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
AgeCommit message (Collapse)Author
2005-01-12* NEWS and manual update for release 0.7.Eelco Dolstra
2004-12-17* Typo: genericBuilder -> genericBuild.Eelco Dolstra
2004-11-14* More manual fixes.Eelco Dolstra
2004-11-14* Manual fixes.Eelco Dolstra
2004-11-12* Document --delete-generations and other nix-env options.Eelco Dolstra
2004-11-12* Document --eval-only and --parse-only options in nix-instantiate.Eelco Dolstra
2004-11-09* Typos.Eelco Dolstra
2004-11-07* Documented the standard environment, including the generic builder.Eelco Dolstra
2004-11-07* Everything you always wanted to know about functions and derivationsEelco Dolstra
but were afraid to ask.
2004-11-07* Drop the grammar appendix.Eelco Dolstra
2004-11-07* Operators, comments.Eelco Dolstra
2004-11-07* Lets, inheritance, assertions.Eelco Dolstra
2004-11-05* Typo fix.Eelco Dolstra
2004-11-05* Generic builders.Eelco Dolstra
2004-11-05* Start of language reference.Eelco Dolstra
2004-11-05* Finished GNU Hello walkthrough.Eelco Dolstra
2004-11-04* Manual: writing Nix expressions.Eelco Dolstra
2004-11-02* chapter -> appendix.Eelco Dolstra
2004-11-01* Section about channels.Eelco Dolstra
2004-11-01* Section about garbage collection.Eelco Dolstra
2004-11-01* Profiles section.Eelco Dolstra
2004-10-31* Document setuid Nix installs.Eelco Dolstra
2004-10-31* Add figures to `make install' / `make dist'.Eelco Dolstra
2004-10-29* Began adding build farm docs.Eelco Dolstra
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