about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-29 Added http alternative transport for nix-reduce-buildMichael Raskin1-3/+12
2008-04-10 * Make really sure that we use bash. The lineEelco Dolstra2-2/+2
NEED_PROG(shell, bash) actually uses the content of $shell if set, which often points at /bin/sh.
2008-04-09 * sockaddr_un doesn't allow path names of more than 108 characters.Eelco Dolstra2-6/+26
This isn't usually a problem, except that it causes tests to fail when performed in a directory with a very long path name. So chdir to the socket directory and use a relative path name.
2008-03-28 * Fix for NIX-101 (should use an absolute path for call to nix-hash).Eelco Dolstra1-1/+1
2008-03-27 * Use /tmp/nix-build-<drvpath>-<counter> instead ofEelco Dolstra3-8/+17
/tmp/nix-<pid>-<counter> for temporary build directories. This increases purity a bit: many packages store the temporary build path in their output, causing (generally unimportant) binary differences.
2008-03-21 * Updated URL.Eelco Dolstra1-1/+1
2008-03-20 * Disable the don't-run-as-root sanity check because it breaks RPMEelco Dolstra1-0/+2
builds (which are done as root...).
2008-03-20 * Note that the SDF grammar isn't used.Eelco Dolstra1-0/+3
2008-03-20 * Cleanup.Eelco Dolstra1-5/+9
2008-03-01 * A transaction is unnecessary since the path cannot beEelco Dolstra1-8/+3
garbage-collected (it's a temporary root).
2008-02-28 * Don't install nix-reduce-build by default yet please, I first wantEelco Dolstra1-2/+2
to understand better what it does...
2008-02-27 Added nix-reduce-build. You point it to some path you want to build and it ↵Michael Raskin2-2/+71
fetches whatever it can from specified computers via nix-copy-closure. NOTE: You do want to set up RSA keys or ssh-agent or something... You really do want it. It will run separate ssh instances insane number of times.
2008-02-21 * checkVarDefs: don't check in closed terms, which don't haveEelco Dolstra1-1/+5
undefined variables by definition. This matters for the implementation of "with", which does a call to checkVarDefs to see if the body of the with has no undefined variables. (It can't be checked at parse time because you don't know which variables are in the "with" attribute set.) If we check closed terms, then we check not just the with body but also the substituted terms, which are typically very large. This is the cause of the poor nix-env performance on Nixpkgs lately. It didn't happen earlier because "with" wasn't used very often in the past. This fix improves nix-env performance roughly 60x on current Nixpkgs. nix-env -qa is down from 29.3s to 0.5s on my laptop, and nix-env -qa --out-path is down from 229s to 3.39s. Not bad for a 1-line fix :-)
2008-02-05 * Fix the parsing ofEelco Dolstra1-1/+5
'' '${foo}' '' where the antiquote should work as expected, instead of giving the string "'${foo}'".
2008-02-05 * Doh.Eelco Dolstra1-1/+1
2008-02-05 * Regression test.Eelco Dolstra2-2/+9
2008-01-29 * nix-store --dump-db / --load-db to dump/load the Nix DB.Eelco Dolstra9-137/+130
* nix-store --register-validity: option to supply the content hash of each path. * Removed compatibility with Nix <= 0.7 stores.
2008-01-20 Probably fixed __exprToStringMichael Raskin1-1/+4
2008-01-15 Fixed exportBuildReferenceGraphMichael Raskin2-12/+77
2008-01-04 * New primop `unsafeDiscardStringContext' to get rid of stringEelco Dolstra3-0/+17
contexts. Needed to prevent unnecessary dependencies when building the NixOS manual.
2007-12-31 * Bumped the version number to 0.12.Eelco Dolstra1-1/+1
2007-12-31 (no commit message)Eelco Dolstra1-4/+5
2007-12-31 * More documentation.Eelco Dolstra6-23/+213
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 (no commit message)Eelco Dolstra2-1/+1
2007-12-31 * More release notes.Eelco Dolstra2-2/+46
2007-12-30 * Fix the hashDerivationModulo test. I should really investigateEelco Dolstra1-2/+4
*why* the test failed...
2007-12-30 * Documented indented string literals.Eelco Dolstra3-43/+193
* Release notes.
2007-12-30 * Don't use "store expression", it's obsolete.Eelco Dolstra1-2/+2
2007-12-30 Added a way to include derivation with its outputs and dependencies - ↵Michael Raskin1-0/+38
exportBuildReferenceGraph
2007-12-14 * Use strsignal if available to give better error messages forEelco Dolstra2-2/+14
builders that fail due to a signal.
2007-12-14 * Another insane Mac OS X 10.5 compatibility hack.Eelco Dolstra1-0/+14
2007-12-14 * Mac OS X 10.5 compatibility: `echo -n foo' suddenly prints `-n foo'Eelco Dolstra1-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 Dolstra1-0/+1
2007-12-12 small udpateMarc Weber1-4/+4
2007-12-10 corrected --help message for nix-store a bitMichael Raskin1-2/+7
2007-12-10 Very basic nix vim syntax highlightingMarc Weber1-0/+35
2007-12-06 * Syntax to escape '', ${.Eelco Dolstra3-2/+20
2007-12-04 * component -> package.Eelco Dolstra8-98/+97
2007-11-30 * Added a new kind of multi-line string literal delimited by twoEelco Dolstra6-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 sayEelco Dolstra7-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 Dolstra1-1/+43
2007-11-21 * New primop `readFile' to get the contents of a file as a string.Eelco Dolstra4-0/+23
2007-11-16 * Flag `--no-build-hook' to disable distributed builds.Eelco Dolstra9-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 Dolstra1-2/+7
2007-11-15 * nix-build: pass --argstr to nix-instantiate.Eelco Dolstra1-3/+3
2007-11-15 * Doh!Eelco Dolstra1-1/+2
2007-11-15 * Don't need gc.hh.Eelco Dolstra2-7/+2