Commit graph

  • fc691e1cbd * Print a better error message when a non-derivation attribute set is coerced to a string. Eelco Dolstra 2008-07-24 14:52:25 +0000
  • 096198d11f * A quick hack to make nix-prefetch-url support mirror:// URLs. It requires that $NIXPKGS_ALL points at a Nixpkgs tree. Eelco Dolstra 2008-07-23 16:02:58 +0000
  • 660244f65f * Make sure that copy-from-other-stores.pl is built. Eelco Dolstra 2008-07-23 09:38:38 +0000
  • e139d7fc68 * Fix the tests. Eelco Dolstra 2008-07-18 20:03:12 +0000
  • 989176c56e * Allow read-only access to the store (e.g., non-root users on NixOS can do operations like "nix-store -qR <path>" even without the Nix daemon). Eelco Dolstra 2008-07-18 15:34:46 +0000
  • 8bc591a6f0 * Use the copy-from-other-stores substituter by default. Of course, it only does something if $NIX_OTHER_STORES (not really a good name...) is set. * Do globbing on the elements of $NIX_OTHER_STORES. E.g. you could set it to /mnts/*/nix or something. * Install substituters in libexec/nix/substituters. Eelco Dolstra 2008-07-18 13:05:10 +0000
  • 15f39aba8c * Quick prototype of a substituter that copies paths from other Nix stores (typically remote Nix stores mounted via e.g. NFS, or the Nix store on the NixOS installation CD). Example use: Eelco Dolstra 2008-07-12 18:58:24 +0000
  • 7cd88b1dec * Generalised the dependencyClosure primop to builtins.genericClosure, which is hopefully more useful. * New primops: length, mul, div. Eelco Dolstra 2008-07-11 13:29:04 +0000
  • d567baabbd * Export the nix-env derivation name parsing and version comparison 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. Eelco Dolstra 2008-07-01 10:10:32 +0000
  • b3b0b2a29e * `make ext-clean': remove the bzip2 build. Eelco Dolstra 2008-06-23 13:52:28 +0000
  • 6c8641a542 Eelco Dolstra 2008-06-18 19:17:05 +0000
  • 5af84139a8 * --max-freed: support values >= 4 GB. Eelco Dolstra 2008-06-18 15:20:33 +0000
  • d3aa183beb * Garbage collector: option --max-freed' to stop after at least N bytes have been freed, --max-links' to stop when the Nix store directory has fewer than N hard links (the latter being important for very large Nix stores on filesystems with a 32000 subdirectories limit). Eelco Dolstra 2008-06-18 14:20:16 +0000
  • a8f3b02092 * `nix-store --optimise': handle files with >= 32000 hard links. (There can easily be more than 32000 occurrences of the empty file.) Eelco Dolstra 2008-06-18 14:13:00 +0000
  • a72709afd8 * Some refactoring: put the GC options / results in separate structs. * The garbage collector now also prints the number of blocks freed. Eelco Dolstra 2008-06-18 09:34:17 +0000
  • 934c58aa38 * Use bzip2 1.0.5. Eelco Dolstra 2008-06-17 08:12:12 +0000
  • ee8f15930d * Test instrumentation. Eelco Dolstra 2008-06-15 15:10:03 +0000
  • f351834f77 * nix-worker: clean up the temporary root for the worker processes in /nix/var/nix/temproots. Eelco Dolstra 2008-06-14 16:03:02 +0000
  • 94fd46fa1c * Note. Eelco Dolstra 2008-06-14 16:02:31 +0000
  • 955b8841cd Also trying to build derivers in case we cannot get substituters Michael Raskin 2008-06-14 08:48:40 +0000
  • 18e27629d3 Added local best-effort builds (i.e. one failure does not ruin all packages you would like to see built) Michael Raskin 2008-06-14 08:30:35 +0000
  • 826b271d9a * Garbage collector: don't do a complete topological sort of the Nix store under the reference relation, since that means that the garbage collector will need a long time to start deleting paths. Instead just delete the referrers of a path first. Eelco Dolstra 2008-06-13 18:25:24 +0000
  • 30c9f909b2 * Print some progress info during the early GC stages. Eelco Dolstra 2008-06-13 17:21:20 +0000
  • 194c66eeeb Stupid error in script Michael Raskin 2008-06-13 14:34:19 +0000
  • f903d86740 OK, I will believe that fix does no worse.. Michael Raskin 2008-06-13 13:53:14 +0000
  • ce85b55cf0 Updated help text Michael Raskin 2008-06-12 17:45:38 +0000
  • 4532e4b90d Added verbosity for nix-reduce-build Michael Raskin 2008-06-12 16:26:53 +0000
  • 2818b7cee6 * Updated some URLs. Eelco Dolstra 2008-06-11 15:39:38 +0000
  • 997b95a4af * Fixed compatibility with old versions of "wc" that print whitespace before the count. Eelco Dolstra 2008-06-10 10:08:15 +0000
  • b0e92f6d47 * Merged the no-bdb branch (-r10900:HEAD https://svn.nixos.org/repos/nix/nix/branches/no-bdb). Eelco Dolstra 2008-06-09 13:52:45 +0000
  • 4ed01ed791 * Updated some URLs (did this a long time ago but forgot to commit...). Eelco Dolstra 2008-06-09 13:42:13 +0000
  • c41a3ec3a9 First attempt to update Nix SDF grammar to match the actual bison grammar Sander van der Burg 2008-06-04 14:36:46 +0000
  • bd955e15e1 * GCC 4.3.0 (Fedora 9) compatibility fixes. Reported by Gour and Armijn Hemel. Eelco Dolstra 2008-05-21 11:17:31 +0000
  • 9819bb20da Added support for file:// archive (.nar.gz) repositories to nix-reduce-build. /tmp/nix-export created by nix-http-export.cgi is OK. Michael Raskin 2008-05-11 15:54:30 +0000
  • b4bc8b7616 --proxy=proxy:3128 Michael Raskin 2008-05-07 14:18:28 +0000
  • b1e321d6ce Added http alternative transport for nix-reduce-build Michael Raskin 2008-04-29 04:03:54 +0000
  • 658816ddc9 * Make really sure that we use bash. The line Eelco Dolstra 2008-04-10 09:54:23 +0000
  • 72034ab35d * sockaddr_un doesn't allow path names of more than 108 characters. 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. Eelco Dolstra 2008-04-09 05:57:01 +0000
  • f8985d195e * Fix for NIX-101 (should use an absolute path for call to nix-hash). Eelco Dolstra 2008-03-28 17:52:33 +0000
  • 329025253d * Use /tmp/nix-build-<drvpath>-<counter> instead of /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. Eelco Dolstra 2008-03-27 13:45:17 +0000
  • 5bb08db55b * Updated URL. Eelco Dolstra 2008-03-21 14:57:16 +0000
  • 98968fbb63 * Disable the don't-run-as-root sanity check because it breaks RPM builds (which are done as root...). Eelco Dolstra 2008-03-20 18:15:20 +0000
  • 2f1e2cf632 * Note that the SDF grammar isn't used. Eelco Dolstra 2008-03-20 14:59:33 +0000
  • f106868110 * Cleanup. Eelco Dolstra 2008-03-20 10:16:36 +0000
  • f789ea1d09 * A transaction is unnecessary since the path cannot be garbage-collected (it's a temporary root). Eelco Dolstra 2008-03-01 21:05:33 +0000
  • d7caac3e81 * Don't install nix-reduce-build by default yet please, I first want to understand better what it does... Eelco Dolstra 2008-02-28 21:27:47 +0000
  • 11d512e7a8 Added nix-reduce-build. You point it to some path you want to build and it 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. Michael Raskin 2008-02-27 21:26:47 +0000
  • 0a84137c45 * checkVarDefs: don't check in closed terms, which don't have 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. Eelco Dolstra 2008-02-21 12:01:24 +0000
  • 0ed89c569f * Fix the parsing of Eelco Dolstra 2008-02-05 13:38:07 +0000
  • 4066f450c2 * Doh. Eelco Dolstra 2008-02-05 13:35:49 +0000
  • e7bdde981f * Regression test. Eelco Dolstra 2008-02-05 13:25:18 +0000
  • 66c51dc215 * nix-store --dump-db / --load-db to dump/load the Nix DB. * nix-store --register-validity: option to supply the content hash of each path. * Removed compatibility with Nix <= 0.7 stores. Eelco Dolstra 2008-01-29 18:17:36 +0000
  • 5b5a3af983 Probably fixed __exprToString Michael Raskin 2008-01-20 20:44:03 +0000
  • 5eb5c23447 Fixed exportBuildReferenceGraph Michael Raskin 2008-01-15 04:32:08 +0000
  • 7d0f6aed59 * New primop `unsafeDiscardStringContext' to get rid of string contexts. Needed to prevent unnecessary dependencies when building the NixOS manual. Eelco Dolstra 2008-01-04 14:22:49 +0000
  • 895c953817 * Bumped the version number to 0.12. Eelco Dolstra 2007-12-31 17:53:59 +0000
  • d4117859d6 Eelco Dolstra 2007-12-31 16:57:12 +0000
  • e0ca671491 * More documentation. Eelco Dolstra 2007-12-31 02:52:17 +0000
  • 6bdecfacbb * Documented a bunch of nix-store commands. Eelco Dolstra 2007-12-31 01:52:57 +0000
  • 454f571f87 Eelco Dolstra 2007-12-31 01:22:09 +0000
  • 4c82983010 Eelco Dolstra 2007-12-31 01:17:25 +0000
  • f60aa2aa21 Eelco Dolstra 2007-12-31 00:34:44 +0000
  • dedd62dd0c * More release notes. Eelco Dolstra 2007-12-31 00:08:09 +0000
  • b5ddcf58ad * Fix the hashDerivationModulo test. I should really investigate *why* the test failed... Eelco Dolstra 2007-12-30 23:59:10 +0000
  • 59707975a3 * Documented indented string literals. * Release notes. Eelco Dolstra 2007-12-30 23:36:09 +0000
  • de012e76e2 * Don't use "store expression", it's obsolete. Eelco Dolstra 2007-12-30 23:35:45 +0000
  • 2196cb67c5 Added a way to include derivation with its outputs and dependencies - exportBuildReferenceGraph Michael Raskin 2007-12-30 09:30:56 +0000
  • df303666bc * Use strsignal if available to give better error messages for builders that fail due to a signal. Eelco Dolstra 2007-12-14 14:49:35 +0000
  • 1e90b4189d * Another insane Mac OS X 10.5 compatibility hack. Eelco Dolstra 2007-12-14 14:15:30 +0000
  • 485d71c54a * Mac OS X 10.5 compatibility: echo -n foo' suddenly prints -n foo' instead of `foo' without a newline (with /bin/sh, not /bin/bash, even though /bin/sh is also bash...). So use printf instead. Eelco Dolstra 2007-12-14 14:08:09 +0000
  • 30e4653783 * Mac OS X 10.5 compatibility. Eelco Dolstra 2007-12-13 22:06:19 +0000
  • 4ff1335b2e small udpate Marc Weber 2007-12-12 02:12:58 +0000
  • 3a2833daff corrected --help message for nix-store a bit Michael Raskin 2007-12-10 22:16:47 +0000
  • 764b0115d5 Very basic nix vim syntax highlighting Marc Weber 2007-12-10 21:17:29 +0000
  • b42ef9c054 * Syntax to escape '', ${. Eelco Dolstra 2007-12-06 10:20:58 +0000
  • d4950f207f * component -> package. Eelco Dolstra 2007-12-04 11:42:58 +0000
  • 6d6c68c0d2 * Added a new kind of multi-line string literal delimited by two single quotes. Example (from NixOS): Eelco Dolstra 2007-11-30 16:48:45 +0000
  • 633518628f * nix-env -e: support uninstalling by path, so that one can say Eelco Dolstra 2007-11-29 16:18:24 +0000
  • 12d0a1eb75 * Troubleshooting entry about running out of locks. Eelco Dolstra 2007-11-29 14:15:33 +0000
  • 06f95dd07c * New primop `readFile' to get the contents of a file as a string. Eelco Dolstra 2007-11-21 13:49:59 +0000
  • c370755583 * Flag `--no-build-hook' to disable distributed builds. * queryDeriver in daemon mode: don't barf if the other side returns an empty string (which means there is no deriver). Eelco Dolstra 2007-11-16 16:15:26 +0000
  • c05783ad67 * nix-store --import: add a flag --require-signature. Eelco Dolstra 2007-11-16 16:10:27 +0000
  • 6784b14241 * nix-build: pass --argstr to nix-instantiate. Eelco Dolstra 2007-11-15 16:52:40 +0000
  • ca210d2a58 * Doh! Eelco Dolstra 2007-11-15 15:33:30 +0000
  • 149e273023 * Don't need gc.hh. Eelco Dolstra 2007-11-15 15:07:27 +0000
  • bfec245efa * Add build-remote.pl to the Nix distribution. Eelco Dolstra 2007-11-15 14:28:08 +0000
  • 6fc60e2060 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. Michael Raskin 2007-11-15 03:47:12 +0000
  • 5b74a59570 * nix-prefetch-url: don't fail if /tmp/nix-prefetch-url-<pid> exists, instead use a counter just like we do for temporary build directories. Eelco Dolstra 2007-11-05 18:12:29 +0000
  • 5f8a203b55 * A rule to make a PDF version of the manual. Eelco Dolstra 2007-11-01 14:42:44 +0000
  • 1511aa11ce * Documented some of the more obscure derivation attributes (including fixed-output derivations). Eelco Dolstra 2007-11-01 13:28:33 +0000
  • fa44e401a8 * Documented multi-user Nix. Eelco Dolstra 2007-10-31 18:01:56 +0000
  • e007b50eb7 Eelco Dolstra 2007-10-29 22:16:36 +0000
  • bfea7b1f35 * Make the --prebuilt-only' / -b' option work not just for queries 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 2007-10-29 14:31:45 +0000
  • 0b95603595 * Depend on bash instead of sh (since we use a few bashisms). Eelco Dolstra 2007-10-29 10:46:45 +0000
  • 42d80d1170 * On FreeBSD, sys/mount.h needs sys/param.h. Eelco Dolstra 2007-10-29 10:03:07 +0000
  • d91cd30563 * Detect whether chroot / bind-mount support is available. Eelco Dolstra 2007-10-27 16:51:55 +0000
  • dc6f373842 * Delete the chroot directory automatically. * Removed some debug messages. Eelco Dolstra 2007-10-27 16:06:38 +0000
  • 9397cd30c8 * Support for doing builds in a chroot under Linux. The builder is 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). Eelco Dolstra 2007-10-27 00:46:59 +0000
  • 0b4ed64d29 * "trace" primop: write the trace to standard error. Eelco Dolstra 2007-10-26 18:25:50 +0000
  • cd08fb3fde Eelco Dolstra 2007-10-24 13:54:06 +0000