aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
AgeCommit message (Collapse)Author
2009-04-14* Remove references to __XXX primops.Eelco Dolstra
2009-04-14* Release notes.Eelco Dolstra
2009-03-28* Simplify communication with the hook a bit (don't use fileEelco Dolstra
descriptors 3/4, just use stdin/stderr).
2009-02-05documentation for previous commitMarc Weber
2008-11-29* Install the release notes.Eelco Dolstra
2008-11-20(no commit message)Eelco Dolstra
2008-11-19* Patterns.Eelco Dolstra
2008-11-19(no commit message)Eelco Dolstra
2008-11-19* Updated the manual.Eelco Dolstra
2008-11-19* Documented some of the sharing mechanisms. Eelco Dolstra
2008-11-19* Install documentation in $(docdir) (i.e. share/doc/nix).Eelco Dolstra
2008-11-19* Remove references to Berkeley DB, including most of theEelco Dolstra
troubleshooting section. W00t.
2008-11-19* Release notes.Eelco Dolstra
2008-11-18* Get rid of nix-pack-closure / nix-unpack-closure, they're redundant.Eelco Dolstra
2008-08-05* Moved some stuff to the Nixpkgs manual.Eelco Dolstra
* Updated the release notes.
2008-07-11* Generalised the dependencyClosure primop to builtins.genericClosure,Eelco Dolstra
which is hopefully more useful. * New primops: length, mul, div.
2008-07-01* Export the nix-env derivation name parsing and version comparisonEelco Dolstra
logic through the `parseDrvName' and `compareVersions' primops. This will allow expressions to easily check whether some dependency is a specific needed version or falls in some version range. See tests/lang/eval-okay-versions.nix for examples.
2008-06-11* Updated some URLs.Eelco Dolstra
2008-06-09* Updated some URLs (did this a long time ago but forgot toEelco Dolstra
commit...).
2008-01-29* nix-store --dump-db / --load-db to dump/load the Nix DB.Eelco Dolstra
* nix-store --register-validity: option to supply the content hash of each path. * Removed compatibility with Nix <= 0.7 stores.
2007-12-31(no commit message)Eelco Dolstra
2007-12-31* More documentation.Eelco Dolstra
2007-12-31* Documented a bunch of nix-store commands.Eelco Dolstra
2007-12-31(no commit message)Eelco Dolstra
2007-12-31(no commit message)Eelco Dolstra
2007-12-31* More release notes.Eelco Dolstra
2007-12-30* Documented indented string literals.Eelco Dolstra
* Release notes.
2007-12-04* component -> package.Eelco Dolstra
2007-11-30* Added a new kind of multi-line string literal delimited by twoEelco Dolstra
single quotes. Example (from NixOS): job = '' start on network-interfaces start script rm -f /var/run/opengl-driver ${if videoDriver == "nvidia" then "ln -sf ${nvidiaDrivers} /var/run/opengl-driver" else if cfg.driSupport then "ln -sf ${mesa} /var/run/opengl-driver" else "" } rm -f /var/log/slim.log end script ''; This style has two big advantages: - \, ' and " aren't special, only '' and ${. So you get a lot less escaping in shell scripts / configuration files in Nixpkgs/NixOS. The delimiter '' is rare in scripts (and can usually be written as ""). ${ is also fairly rare. Other delimiters such as <<...>>, {{...}} and <|...|> were also considered but this one appears to have the fewest drawbacks (thanks Martin). - Indentation is intelligently stripped so that multi-line strings can follow the nesting structure of the containing Nix expression. E.g. in the example above 6 spaces are stripped from the start of each line. This prevents unnecessary indentation in generated files (which sometimes even breaks things). See tests/lang/eval-okay-ind-string.nix for some examples.
2007-11-29* Troubleshooting entry about running out of locks.Eelco Dolstra
2007-11-21* New primop `readFile' to get the contents of a file as a string.Eelco Dolstra
2007-11-01* A rule to make a PDF version of the manual.Eelco Dolstra
2007-11-01* Documented some of the more obscure derivation attributes (includingEelco Dolstra
fixed-output derivations).
2007-10-31* Documented multi-user Nix.Eelco Dolstra
2007-10-29(no commit message)Eelco Dolstra
2007-10-29* Make the `--prebuilt-only' / `-b' option work not just for queriesEelco Dolstra
but installations/upgrades as well. So `nix-env -ub \*' will upgrade only those packages for which a substitute is available (or to be precise, it will upgrade each package to the highest version for which a substitute is available).
2007-10-27* Delete the chroot directory automatically.Eelco Dolstra
* Removed some debug messages.
2007-10-24(no commit message)Eelco Dolstra
2007-10-23* Improved introduction (actually copied mostly from the homepage).Eelco Dolstra
2007-10-22* Document the new primops in Nix 0.11.Eelco Dolstra
2007-10-22* Move list of built-in functions to a separate file.Eelco Dolstra
2007-10-22(no commit message)Eelco Dolstra
2007-10-22Added comment telling about setup-hook and propagatedBuildInputsMarc Weber
2007-09-19* Manpage for nix-copy-closure.Eelco Dolstra
2007-09-17* nix-env: allow ~/.nix-defexpr to be a directory. If it is, then theEelco Dolstra
Nix expressions in that directory are combined into an attribute set {file1 = import file1; file2 = import file2; ...}, i.e. each Nix expression is an attribute with the file name as the attribute name. Also recurses into directories. * nix-env: removed the "--import" (-I) option which set the ~/.nix-defexpr symlink. * nix-channel: don't use "nix-env --import", instead symlink ~/.nix-defexpr/channels. So finally nix-channel --update doesn't override any default Nix expressions but combines with them. This means that you can have (say) a local Nixpkgs SVN tree and use it as a default for nix-env: $ ln -s .../path-to-nixpkgs-tree ~/.nix-defexpr/nixpkgs_svn and be subscribed to channels (including Nixpkgs) at the same time. (If there is any ambiguity, the -A flag can be used to disambiguate, e.g. "nix-env -i -A nixpkgs_svn.pan".)
2007-09-02explanation what happens when passing true / false and null values to ↵Marc Weber
derivation builders added
2007-08-12* Get rid of the substitutes database table (NIX-47). Instead, if weEelco Dolstra
need any info on substitutable paths, we just call the substituters (such as download-using-manifests.pl) directly. This means that it's no longer necessary for nix-pull to register substitutes or for nix-channel to clear them, which makes those operations much faster (NIX-95). Also, we don't have to worry about keeping nix-pull manifests (in /nix/var/nix/manifests) and the database in sync with each other. The downside is that there is some overhead in calling an external program to get the substitutes info. For instance, "nix-env -qas" takes a bit longer. Abolishing the substitutes table also makes the logic in local-store.cc simpler, as we don't need to store info for invalid paths. On the downside, you cannot do things like "nix-store -qR" on a substitutable but invalid path (but nobody did that anyway). * Never catch interrupts (the Interrupted exception).
2007-06-02change default NIX_HASH_ALGOArmijn Hemel
2007-05-16(no commit message)Eelco Dolstra
2007-05-01* nix-env -i: instead of breaking package ties by version, break themEelco Dolstra
by priority and version install. That is, if there are multiple packages with the same name, then pick the package with the highest priority, and only use the version if there are multiple packages with the same priority. This makes it possible to mark specific versions/variant in Nixpkgs more or less desirable than others. A typical example would be a beta version of some package (e.g., "gcc-4.2.0rc1") which should not be installed even though it is the highest version, except when it is explicitly selected (e.g., "nix-env -i gcc-4.2.0rc1"). * Idem for nix-env -u, only the semantics are a bit trickier since we also need to take into account the priority of the currently installed package (we never upgrade to a lower priority, unless --always is given).