- Dec 31, 2007
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
No commit message
-
Eelco Dolstra authored
No commit message
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
No commit message
-
Eelco Dolstra authored
No commit message
-
Eelco Dolstra authored
No commit message
-
Eelco Dolstra authored
-
- Dec 30, 2007
-
-
Eelco Dolstra authored
*why* the test failed...
-
Eelco Dolstra authored
* Release notes.
-
Eelco Dolstra authored
-
Michael Raskin authored
-
- Dec 14, 2007
-
-
Eelco Dolstra authored
builders that fail due to a signal.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
instead of `foo' without a newline (with /bin/sh, not /bin/bash, even though /bin/sh is also bash...). So use printf instead.
-
- Dec 13, 2007
-
-
Eelco Dolstra authored
-
- Dec 12, 2007
-
-
Marc Weber authored
-
- Dec 10, 2007
-
-
Michael Raskin authored
-
Marc Weber authored
-
- Dec 06, 2007
-
-
Eelco Dolstra authored
-
- Dec 04, 2007
-
-
Eelco Dolstra authored
-
- Nov 30, 2007
-
-
Eelco Dolstra authored
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.
-
- Nov 29, 2007
-
-
Eelco Dolstra authored
$ 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.
-
Eelco Dolstra authored
-
- Nov 21, 2007
-
-
Eelco Dolstra authored
-
- Nov 16, 2007
-
-
Eelco Dolstra authored
* queryDeriver in daemon mode: don't barf if the other side returns an empty string (which means there is no deriver).
-
Eelco Dolstra authored
-
- Nov 15, 2007
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Michael Raskin authored
Added possibility to specify garbage collection levels for store paths; so packages can share intermediate results of compilation and GC will collect it automatically while never touching tarballs, for example.
-
- Nov 05, 2007
-
-
Eelco Dolstra authored
instead use a counter just like we do for temporary build directories.
-
- Nov 01, 2007
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
fixed-output derivations).
-
- Oct 31, 2007
-
-
Eelco Dolstra authored
-
- Oct 29, 2007
-
-
Eelco Dolstra authored
No commit message
-
Eelco Dolstra authored
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).
-
Eelco Dolstra authored
-