Commit graph

  • 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
  • d423968ba1 * Improved introduction (actually copied mostly from the homepage). Eelco Dolstra 2007-10-23 16:34:04 +0000
  • 612b3e8fa3 * Document the new primops in Nix 0.11. Eelco Dolstra 2007-10-22 15:28:32 +0000
  • 35ac16e75e * Move list of built-in functions to a separate file. Eelco Dolstra 2007-10-22 12:58:28 +0000
  • 1db187ff69 Eelco Dolstra 2007-10-22 12:46:15 +0000
  • f90d85107e Eelco Dolstra 2007-10-22 12:05:30 +0000
  • f8ed2e64a5 Eelco Dolstra 2007-10-22 12:05:18 +0000
  • f529a3be8a Added comment telling about setup-hook and propagatedBuildInputs Marc Weber 2007-10-22 01:10:19 +0000
  • 14e47e9c2c * Doh. Eelco Dolstra 2007-10-10 14:58:00 +0000
  • d04291cfab * Doh! Don't change the permissions on /nix/store. Eelco Dolstra 2007-10-10 13:52:38 +0000
  • 315183f194 * nix-store --optimise: flag "--dry-run" to just query what the disk savings would be. Eelco Dolstra 2007-10-10 13:43:04 +0000
  • a8629de827 * New command `nix-store --optimise' to reduce Nix store disk space 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). Eelco Dolstra 2007-10-09 22:14:27 +0000
  • 27a0662828 * listToAttrs: the list now should consist of {name, value} attribute sets instead of {attr, value}. "name" is better than "attr" because the *combination* of the two forms the attribute. Eelco Dolstra 2007-10-09 12:51:25 +0000
  • 8a9fe6c11c * Manpage for nix-copy-closure. Eelco Dolstra 2007-09-19 14:01:41 +0000
  • 27f57c9018 * Ignore dangling symlinks in ~/.nix-defexpr. Eelco Dolstra 2007-09-18 14:01:14 +0000
  • f3441e6122 * Pass various options to the worker so that flags like -K or -j work in multi-user Nix (NIX-72). * Client/worker: exchange a protocol version number for future compatibility. Eelco Dolstra 2007-09-18 09:11:20 +0000
  • 26f981c2e5 * Remove garbage. Eelco Dolstra 2007-09-18 08:26:55 +0000
  • c8ea8a09b8 * nix-env -qa: make the "-A" flag do the expected thing, namely follow the given attribute path (just as -A does with other option) (NIX-83). So you can now say Eelco Dolstra 2007-09-17 19:24:07 +0000
  • 055608227f * nix-env: allow ~/.nix-defexpr to be a directory. If it is, then the 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. Eelco Dolstra 2007-09-17 16:08:24 +0000
  • 3339f85447 * Test the impureEnvVars feature. Eelco Dolstra 2007-09-11 13:32:04 +0000
  • 9441550acb * nix-push / generate-patches: bzip the manifest. Eelco Dolstra 2007-09-04 15:38:09 +0000
  • 7b20c0ed4b explanation what happens when passing true / false and null values to derivation builders added Marc Weber 2007-09-02 10:36:59 +0000
  • 0d65fc08e2 * Create the Nix daemon socket in a separate directory (/nix/var/nix/daemon-socket). This allows access to the Nix daemon to be restricted by setting the mode/ownership on that directory as desired, e.g. Eelco Dolstra 2007-08-30 09:50:44 +0000
  • cb1c1004cd * When there are multiple substituters, make sure to release the lock on the output path after trying each. Otherwise the pathIsLockedByMe() test gets confused. Eelco Dolstra 2007-08-28 16:22:08 +0000
  • c970b28ba0 * Fix a race condition with parallel builds where multiple fixed-output derivations or substitutions try to build the same store path at the same time. Locking generally catches this, but not between multiple goals in the same process. This happened especially often (actually, only) in the build farm with fetchurl downloads of the same file being executed on multiple machines and then copied back to the main machine where they would clobber each other (NIXBF-13). Eelco Dolstra 2007-08-28 11:36:17 +0000
  • bc0429b1cd * Doh! Broken test. Eelco Dolstra 2007-08-28 11:31:44 +0000
  • e0d7e47862 * PathLocks::lockPaths: don't allow reacquiring a lock we already hold. Eelco Dolstra 2007-08-28 09:39:03 +0000
  • 455a7b9577 * Test case to show that parallel builds of different fixed-output derivations that produce the same output path don't work properly wrt locking. This happens a lot in the build farm when fetchurl derivations downloading the same file on different platforms are executed in parallel and then copied back to the main machine. Eelco Dolstra 2007-08-28 09:21:47 +0000
  • 7d5836b34d * nix-channel: supports users who don't have write permission to the manifests directory. In that case, we don't do a nix-pull, so the user gets pure source deployment. Eelco Dolstra 2007-08-22 14:52:22 +0000
  • 2629998e91 primop functions listToAttrs (+test), __isAttrs, __trace added new configuration style proposal in lib/default-unstable.nix Marc Weber 2007-08-18 22:12:00 +0000
  • dbc0170ed9 * Show errors in nix-prefetch-url. Eelco Dolstra 2007-08-15 09:24:06 +0000
  • 5c793ad03e * Hopefully this fixes the test on FreeBSD. Eelco Dolstra 2007-08-14 13:43:51 +0000
  • ffa1c61cd5 * Fix the tests. Eelco Dolstra 2007-08-14 13:15:59 +0000
  • a7e1a51fdf * A test for the nix-worker. Eelco Dolstra 2007-08-13 14:56:40 +0000
  • 550ba9ebb4 * Fix the tests. Eelco Dolstra 2007-08-13 13:15:02 +0000
  • 3757ee589f * Bump the Nix database schema version number; delete the substitutes table. Eelco Dolstra 2007-08-13 11:37:39 +0000
  • 59afc1a15c * Backwards compatibility. Eelco Dolstra 2007-08-13 11:15:13 +0000
  • 9e975458b4 * Get rid of the substitutes database table (NIX-47). Instead, if we 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. Eelco Dolstra 2007-08-12 00:29:28 +0000
  • 4695f4edd6 * nix-pull: support bzipped manifests: when doing a nix-pull on $url, try $url.bz2 first. Eelco Dolstra 2007-08-10 01:42:00 +0000
  • 911bc01454 * Enable nix-prefetch-url caching in nix-channel. Eelco Dolstra 2007-08-10 00:28:44 +0000
  • 5e52df18fe * Don't rely on /dev/stdin. Eelco Dolstra 2007-08-10 00:22:21 +0000
  • c5e934dcc9 * nix-pull: using nix-prefetch-url (so that we get caching for free), and store the manifests in the Nix store. (So now /nix/var/nix/manifests/ just contains symlinks to the store and is searched for GC roots.) Eelco Dolstra 2007-08-09 23:52:53 +0000
  • f881f7a017 * nix-prefetch-url: support caching. If the environment variable NIX_DOWNLOAD_CACHE is set, then nix-prefetch-url will store the hash and timestamp of downloaded files in the directory $NIX_DOWNLOAD_CACHE. This allows it to figure out if the file is still in the Nix store. Eelco Dolstra 2007-08-09 23:16:44 +0000
  • ef240bc0d5 * Use the new patched version of the aterm library. Eelco Dolstra 2007-08-07 23:40:39 +0000
  • d71cc503a6 * Don't allocate input files on the stack. Eelco Dolstra 2007-08-07 15:00:13 +0000
  • 4cad125e08 * Optionally warn about packages that give an assertion failure. Eelco Dolstra 2007-08-06 16:08:09 +0000
  • 6da6fbfbe9 * Properly keep packages during upgrades. Eelco Dolstra 2007-07-05 20:33:04 +0000
  • 6d1a1191b0 * Support queryDeriver() in multi-user installations. Eelco Dolstra 2007-06-12 16:53:44 +0000
  • 9d9e1c5c41 * Distribute bzip2 1.0.4. Eelco Dolstra 2007-06-11 13:59:07 +0000
  • 9bff7ad728 * Check against creation of GC roots in the store. Those roots don't work, because findRoots() stops when it encounters a symlink to the store. And of course the store is supposed to be read-only. Eelco Dolstra 2007-06-11 11:36:22 +0000
  • f3ebd03bb1 * Remove debug statement. Eelco Dolstra 2007-06-04 12:03:33 +0000
  • 40b6f06f09 change default NIX_HASH_ALGO Armijn Hemel 2007-06-02 15:03:54 +0000
  • b47da5ea21 Eelco Dolstra 2007-05-16 22:07:39 +0000
  • bddc83a148 * New builtin function "isFunction". You're not supposed to use it ;-) * Channels: fix channels that are plain lists of derivations (like strategoxt-unstable) instead of functions (like nixpkgs-unstable). This fixes the error message "error: the left-hand side of the function call is neither a function nor a primop (built-in operation) but a list". Eelco Dolstra 2007-05-16 16:17:04 +0000
  • ca00aa1171 * Allow empty argument lists in function definitions (e.g., {}: bla'). Also allow trailing commas ({x, y,}: ...') as a unintented consequence. Hopefully the reduce/reduce conflict won't cause any problems. Eelco Dolstra 2007-05-15 12:14:37 +0000
  • 7046c35843 * Typo (reported by Marc Weber). Eelco Dolstra 2007-05-14 12:16:41 +0000
  • e5da9c8803 * Create the database directory if it doesn't exist. Eelco Dolstra 2007-05-07 16:59:19 +0000
  • 30beeb27a9 * Set the right priorities when recovering from a directory collision. Eelco Dolstra 2007-05-02 19:38:02 +0000
  • 34d4c9388b Eelco Dolstra 2007-05-02 16:06:04 +0000
  • 93aefd9fc0 * Give unpacked channels more sensible names than 0, 1, ... They now get the basename of the channel URL (e.g., nixpkgs-unstable). The top-level Nix expression of the channel is now an attribute set, the attributes of which are the individual channels (e.g., {nixpkgs_unstable = ...; strategoxt_unstable = ...}). This makes attribute paths ("nix-env -qaA" and "nix-env -iA") more sensible, e.g., "nix-env -iA nixpkgs_unstable.subversion". Eelco Dolstra 2007-05-01 23:16:38 +0000