about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2008-11-20 (no commit message)Eelco Dolstra1-1/+2
2008-11-19 * Patterns.Eelco Dolstra1-31/+73
2008-11-19 (no commit message)Eelco Dolstra2-1/+62
2008-11-19 * Updated the manual.Eelco Dolstra2-3/+134
2008-11-19 * Documented some of the sharing mechanisms. Eelco Dolstra7-5/+144
2008-11-19 * Install documentation in $(docdir) (i.e. share/doc/nix).Eelco Dolstra1-6/+6
2008-11-19 * Remove references to Berkeley DB, including most of theEelco Dolstra4-143/+17
troubleshooting section. W00t.
2008-11-19 * Release notes.Eelco Dolstra1-18/+138
2008-11-18 * Get rid of nix-pack-closure / nix-unpack-closure, they're redundant.Eelco Dolstra5-133/+7
2008-08-05 * Moved some stuff to the Nixpkgs manual.Eelco Dolstra2-162/+22
* Updated the release notes.
2008-07-11 * Generalised the dependencyClosure primop to builtins.genericClosure,Eelco Dolstra1-2/+7
which is hopefully more useful. * New primops: length, mul, div.
2008-07-01 * Export the nix-env derivation name parsing and version comparisonEelco Dolstra1-0/+6
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 Dolstra4-17/+19
2008-06-09 * Updated some URLs (did this a long time ago but forgot toEelco Dolstra4-34/+30
commit...).
2008-01-29 * nix-store --dump-db / --load-db to dump/load the Nix DB.Eelco Dolstra1-0/+13
* 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 Dolstra1-4/+5
2007-12-31 * More documentation.Eelco Dolstra5-21/+212
2007-12-31 * Documented a bunch of nix-store commands.Eelco Dolstra1-0/+174
2007-12-31 (no commit message)Eelco Dolstra1-89/+89
2007-12-31 (no commit message)Eelco Dolstra1-9/+8
2007-12-31 * More release notes.Eelco Dolstra1-0/+44
2007-12-30 * Documented indented string literals.Eelco Dolstra3-43/+193
* Release notes.
2007-12-04 * component -> package.Eelco Dolstra8-98/+97
2007-11-30 * Added a new kind of multi-line string literal delimited by twoEelco Dolstra1-0/+4
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 Dolstra1-1/+43
2007-11-21 * New primop `readFile' to get the contents of a file as a string.Eelco Dolstra1-0/+9
2007-11-01 * A rule to make a PDF version of the manual.Eelco Dolstra1-0/+8
2007-11-01 * Documented some of the more obscure derivation attributes (includingEelco Dolstra3-14/+250
fixed-output derivations).
2007-10-31 * Documented multi-user Nix.Eelco Dolstra4-46/+271
2007-10-29 (no commit message)Eelco Dolstra3-0/+132
2007-10-29 * Make the `--prebuilt-only' / `-b' option work not just for queriesEelco Dolstra1-1/+2
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 Dolstra1-0/+3
* Removed some debug messages.
2007-10-24 (no commit message)Eelco Dolstra1-0/+5
2007-10-23 * Improved introduction (actually copied mostly from the homepage).Eelco Dolstra1-126/+312
2007-10-22 * Document the new primops in Nix 0.11.Eelco Dolstra1-1/+164
2007-10-22 * Move list of built-in functions to a separate file.Eelco Dolstra3-584/+592
2007-10-22 (no commit message)Eelco Dolstra1-15/+14
2007-10-22 Added comment telling about setup-hook and propagatedBuildInputsMarc Weber1-3/+12
2007-09-19 * Manpage for nix-copy-closure.Eelco Dolstra17-25/+308
2007-09-17 * nix-env: allow ~/.nix-defexpr to be a directory. If it is, then theEelco Dolstra1-43/+4
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-02 explanation what happens when passing true / false and null values to ↵Marc Weber1-0/+4
derivation builders added
2007-08-12 * Get rid of the substitutes database table (NIX-47). Instead, if weEelco Dolstra1-30/+0
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-02 change default NIX_HASH_ALGOArmijn Hemel1-1/+1
2007-05-16 (no commit message)Eelco Dolstra3-44/+80
2007-05-01 * nix-env -i: instead of breaking package ties by version, break themEelco Dolstra1-0/+6
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).
2007-05-01 * `nix-env -q --xml --meta' to show all meta attributes.Eelco Dolstra1-2/+2
2007-04-27 * Package flag "keep" that prevents a package from being removed fromEelco Dolstra1-2/+2
a user environment by an install or upgrade action. This is particularly useful if you have a version installed that you don't want to upgrade (e.g., because the newer versions are broken). Example: $ nix-env -u zapping --dry-run (dry run; not doing anything) upgrading `zapping-0.9.6' to `zapping-0.10cvs6' $ nix-env --set-flag keep true zapping $ nix-env -u zapping --dry-run (dry run; not doing anything) However, "-e" will still uninstall the package. (Maybe we should require the keep flag to be explicitly set to false before it can be uninstalled.)
2007-04-27 * Package conflict resolution through priority levels. If there is aEelco Dolstra1-1/+3
user environment collission between two packages due to overlapping file names, then a package with a higher priority will overwrite the symlinks of a package with a lower priority. E.g., $ nix-env --set-flag priority 5 gcc $ nix-env --set-flag priority 10 binutils gives gcc a higher priority than binutils (higher number = lower priority).
2007-04-26 * nix-env -q now has a flag --prebuilt-only (-b<) that causes nix-envEelco Dolstra1-0/+9
to show only those derivations whose output is already in the Nix store or that can be substituted (i.e., downloaded from somewhere). In other words, it shows the packages that can be installed “quickly”, i.e., don’t need to be built from source.
2007-04-16 * Updated dependency information.Eelco Dolstra1-9/+10