Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2007-12-30 | * Don't use "store expression", it's obsolete. | Eelco Dolstra | 1 | -2/+2 | |
2007-12-30 | Added a way to include derivation with its outputs and dependencies - ↵ | Michael Raskin | 1 | -0/+38 | |
exportBuildReferenceGraph | |||||
2007-12-14 | * Use strsignal if available to give better error messages for | Eelco Dolstra | 2 | -2/+14 | |
builders that fail due to a signal. | |||||
2007-12-14 | * Another insane Mac OS X 10.5 compatibility hack. | Eelco Dolstra | 1 | -0/+14 | |
2007-12-14 | * Mac OS X 10.5 compatibility: `echo -n foo' suddenly prints `-n foo' | Eelco Dolstra | 1 | -1/+1 | |
instead of `foo' without a newline (with /bin/sh, not /bin/bash, even though /bin/sh is also bash...). So use printf instead. | |||||
2007-12-13 | * Mac OS X 10.5 compatibility. | Eelco Dolstra | 1 | -0/+1 | |
2007-12-12 | small udpate | Marc Weber | 1 | -4/+4 | |
2007-12-10 | corrected --help message for nix-store a bit | Michael Raskin | 1 | -2/+7 | |
2007-12-10 | Very basic nix vim syntax highlighting | Marc Weber | 1 | -0/+35 | |
2007-12-06 | * Syntax to escape '', ${. | Eelco Dolstra | 3 | -2/+20 | |
2007-12-04 | * component -> package. | Eelco Dolstra | 8 | -98/+97 | |
2007-11-30 | * Added a new kind of multi-line string literal delimited by two | Eelco Dolstra | 6 | -3/+234 | |
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 | * nix-env -e: support uninstalling by path, so that one can say | Eelco Dolstra | 7 | -50/+81 | |
$ nix-env -e $(which firefox) or $ nix-env -e /nix/store/nywzlygrkfcgz7dfmhm5xixlx1l0m60v-pan-0.132 * nix-env -i: if an argument contains a slash anywhere, treat it as a path and follow it through symlinks into the Nix store. This allows things like $ nix-build -A firefox $ nix-env -i ./result * nix-env -q/-i/-e: don't complain when the `*' selector doesn't match anything. In particular, `nix-env -q \*' doesn't fail anymore on an empty profile. | |||||
2007-11-29 | * Troubleshooting entry about running out of locks. | Eelco Dolstra | 1 | -1/+43 | |
2007-11-21 | * New primop `readFile' to get the contents of a file as a string. | Eelco Dolstra | 4 | -0/+23 | |
2007-11-16 | * Flag `--no-build-hook' to disable distributed builds. | Eelco Dolstra | 9 | -6/+23 | |
* queryDeriver in daemon mode: don't barf if the other side returns an empty string (which means there is no deriver). | |||||
2007-11-16 | * nix-store --import: add a flag --require-signature. | Eelco Dolstra | 1 | -2/+7 | |
2007-11-15 | * nix-build: pass --argstr to nix-instantiate. | Eelco Dolstra | 1 | -3/+3 | |
2007-11-15 | * Doh! | Eelco Dolstra | 1 | -1/+2 | |
2007-11-15 | * Don't need gc.hh. | Eelco Dolstra | 2 | -7/+2 | |
2007-11-15 | * Add build-remote.pl to the Nix distribution. | Eelco Dolstra | 2 | -1/+211 | |
2007-11-15 | Added possibility to specify garbage collection levels for store paths; so ↵ | Michael Raskin | 2 | -4/+21 | |
packages can share intermediate results of compilation and GC will collect it automatically while never touching tarballs, for example. | |||||
2007-11-05 | * nix-prefetch-url: don't fail if /tmp/nix-prefetch-url-<pid> exists, | Eelco Dolstra | 1 | -4/+23 | |
instead use a counter just like we do for temporary build directories. | |||||
2007-11-01 | * A rule to make a PDF version of the manual. | Eelco Dolstra | 2 | -0/+9 | |
2007-11-01 | * Documented some of the more obscure derivation attributes (including | Eelco Dolstra | 3 | -14/+250 | |
fixed-output derivations). | |||||
2007-10-31 | * Documented multi-user Nix. | Eelco Dolstra | 5 | -46/+274 | |
2007-10-29 | (no commit message) | Eelco Dolstra | 4 | -1/+133 | |
2007-10-29 | * Make the `--prebuilt-only' / `-b' option work not just for queries | Eelco Dolstra | 3 | -17/+24 | |
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-29 | * Depend on bash instead of sh (since we use a few bashisms). | Eelco Dolstra | 1 | -1/+1 | |
2007-10-29 | * On FreeBSD, sys/mount.h needs sys/param.h. | Eelco Dolstra | 2 | -3/+12 | |
2007-10-27 | * Detect whether chroot / bind-mount support is available. | Eelco Dolstra | 2 | -4/+26 | |
2007-10-27 | * Delete the chroot directory automatically. | Eelco Dolstra | 5 | -19/+80 | |
* Removed some debug messages. | |||||
2007-10-27 | * Support for doing builds in a chroot under Linux. The builder is | Eelco Dolstra | 3 | -16/+162 | |
executed in a chroot that contains just the Nix store, the temporary build directory, and a configurable set of additional directories (/dev and /proc by default). This allows a bit more purity enforcement: hidden build-time dependencies on directories such as /usr or /nix/var/nix/profiles are no longer possible. As an added benefit, accidental network downloads (cf. NIXPKGS-52) are prevented as well (because files such as /etc/resolv.conf are not available in the chroot). However the usefulness of chroots is diminished by the fact that many builders depend on /bin/sh, so you need /bin in the list of additional directories. (And then on non-NixOS you need /lib as well...) | |||||
2007-10-26 | * "trace" primop: write the trace to standard error. | Eelco Dolstra | 1 | -6/+7 | |
2007-10-24 | (no commit message) | Eelco Dolstra | 1 | -0/+5 | |
2007-10-23 | * Improved introduction (actually copied mostly from the homepage). | Eelco Dolstra | 1 | -126/+312 | |
2007-10-22 | * Document the new primops in Nix 0.11. | Eelco Dolstra | 1 | -1/+164 | |
2007-10-22 | * Move list of built-in functions to a separate file. | Eelco Dolstra | 3 | -584/+592 | |
2007-10-22 | (no commit message) | Eelco Dolstra | 1 | -15/+14 | |
2007-10-22 | (no commit message) | Eelco Dolstra | 1 | -1/+1 | |
2007-10-22 | (no commit message) | Eelco Dolstra | 2 | -3/+1 | |
2007-10-22 | Added comment telling about setup-hook and propagatedBuildInputs | Marc Weber | 1 | -3/+12 | |
2007-10-10 | * Doh. | Eelco Dolstra | 1 | -1/+1 | |
2007-10-10 | * Doh! Don't change the permissions on /nix/store. | Eelco Dolstra | 1 | -9/+8 | |
2007-10-10 | * nix-store --optimise: flag "--dry-run" to just query what the disk | Eelco Dolstra | 2 | -18/+26 | |
savings would be. | |||||
2007-10-09 | * New command `nix-store --optimise' to reduce Nix store disk space | Eelco Dolstra | 5 | -99/+188 | |
usage by finding identical files in the store and hard-linking them to each other. It typically reduces the size of the store by something like 25-35%. This is what the optimise-store.pl script did, but the new command is faster and more correct (it's safe wrt garbage collection and concurrent builds). | |||||
2007-10-09 | * listToAttrs: the list now should consist of {name, value} attribute | Eelco Dolstra | 1 | -28/+29 | |
sets instead of {attr, value}. "name" is better than "attr" because the *combination* of the two forms the attribute. | |||||
2007-09-19 | * Manpage for nix-copy-closure. | Eelco Dolstra | 17 | -25/+308 | |
2007-09-18 | * Ignore dangling symlinks in ~/.nix-defexpr. | Eelco Dolstra | 1 | -1/+6 | |
2007-09-18 | * Pass various options to the worker so that flags like -K or -j work | Eelco Dolstra | 5 | -7/+49 | |
in multi-user Nix (NIX-72). * Client/worker: exchange a protocol version number for future compatibility. |