Commit graph

  • beee18de88 * Document nix-store --delete. Eelco Dolstra 2006-10-05 23:13:15 +0000
  • eff573f563 * Work around a weird bug in the manpage generation. Eelco Dolstra 2006-10-05 23:01:50 +0000
  • 9e08f5efe1 * Documented nix-store --dump / --restore. Eelco Dolstra 2006-10-05 22:57:07 +0000
  • 8791ffbc88 * Documented new nix-env options. Eelco Dolstra 2006-10-05 22:56:52 +0000
  • 99ef620c8c * Documented nix-instantiate --xml, --strict. * Added an example to the nix-build section. Eelco Dolstra 2006-10-05 20:41:57 +0000
  • 8396b59286 * Documented --attr / -A. Eelco Dolstra 2006-10-05 20:07:41 +0000
  • 5d769de8a3 * Document --arg. Eelco Dolstra 2006-10-05 09:08:52 +0000
  • 6f2bfd92b6 * Manual. Eelco Dolstra 2006-10-05 08:21:52 +0000
  • d98f750fd8 * tmpnam() -> File::Temp::tempdir(). Eelco Dolstra 2006-10-04 18:58:11 +0000
  • 34427a7b43 * Weird. Eelco Dolstra 2006-10-04 17:07:58 +0000
  • a3fd53b9eb * Style tweak. Eelco Dolstra 2006-10-04 17:07:52 +0000
  • 59ef0aaf3f * Strings. Eelco Dolstra 2006-10-04 16:02:18 +0000
  • 407c9fd520 * Explanation of toXML example. Eelco Dolstra 2006-10-04 15:20:19 +0000
  • 0ef3bd3c37 * Use GIF callouts instead of PNG since the GIFs have transparency. Eelco Dolstra 2006-10-04 12:20:07 +0000
  • 4a7ece698b Eelco Dolstra 2006-10-04 08:26:05 +0000
  • bd4f1b4bb8 * Style tweaks. Eelco Dolstra 2006-10-04 08:14:35 +0000
  • 96fa456a0a * An example of using toXML to pass structured information to a builder and generate a Jetty configuration file with XSLT. Eelco Dolstra 2006-10-03 15:39:34 +0000
  • 5fd44654db * toXML: propagate the context to allow derivations to be used in the argument. Eelco Dolstra 2006-10-03 15:38:59 +0000
  • 3837fb233c * Document the built-in functions. Eelco Dolstra 2006-10-03 15:19:05 +0000
  • d20c3011a0 * toFile: added an additional argument to specify the store path suffix, e.g., `builtins.toFile "builder.sh" "..."'. * toFile: handle references to other files correctly. Eelco Dolstra 2006-10-03 14:55:54 +0000
  • 84e6c43e85 * Documented nix-hash. Eelco Dolstra 2006-10-02 22:11:44 +0000
  • cfe35ca0e0 * Manual. Eelco Dolstra 2006-10-02 20:28:52 +0000
  • 853252ac66 * Document the new let. Eelco Dolstra 2006-10-02 16:14:30 +0000
  • ac19b333b3 * Finally, a real "let" syntax: `let x = ...; ... z = ...; in ...'. Eelco Dolstra 2006-10-02 15:52:44 +0000
  • 7581cfdee4 * Hack for Bison 2.3 compatability. Eelco Dolstra 2006-10-02 14:43:15 +0000
  • f316b6c1a9 * Manual updates (especially how nix-build makes testing packages much easier; no longer need a helper expression). Eelco Dolstra 2006-10-02 11:50:55 +0000
  • 91a01e6fcf * Manual. Eelco Dolstra 2006-10-02 09:01:36 +0000
  • 88d422567e * One-click installs. Eelco Dolstra 2006-09-29 14:59:10 +0000
  • 0212feeed6 * Document nix-install-package and the nixpkg file format. Eelco Dolstra 2006-09-29 14:16:41 +0000
  • 070e07ed5a * Manual. Eelco Dolstra 2006-09-29 11:03:16 +0000
  • 30c7db85d8 * Manual updates, some style improvements. Eelco Dolstra 2006-09-29 10:31:56 +0000
  • e2eed05224 * Manual updates. * Documented nix-{pack,unpack}-closure. Eelco Dolstra 2006-09-28 09:10:53 +0000
  • 4ad6fb7ea3 * Fix setuid builds. Eelco Dolstra 2006-09-27 21:04:07 +0000
  • 015ac7c7da * Release notes. Eelco Dolstra 2006-09-27 13:27:26 +0000
  • a9a6356ffc * Release notes. Eelco Dolstra 2006-09-27 12:43:00 +0000
  • e47d42536f * Release notes. Eelco Dolstra 2006-09-26 09:57:27 +0000
  • 5ca45d085e * Use "propagated-user-env-packages", not "propagated-build-inputs" for packages that should be propagated to the user environment. Eelco Dolstra 2006-09-25 15:11:59 +0000
  • 02f2335712 * Propagated packages now have lower priority; they are symlinked *after* the packages that have been explicitly installed, and collisions are ignored. Eelco Dolstra 2006-09-25 15:07:45 +0000
  • 3632019b73 * Quick hack to let nix-install-package set the package name properly (e.g., "java-front-0.9pre15899" instead of "java-front"; particularly important when doing upgrades later on). Eelco Dolstra 2006-09-25 14:00:59 +0000
  • d43565c3e8 * In `nix-channel --update', skip manifests that assume a Nix store at a different location than the user's. This makes channels usable as a source deployment mechanism for people who install Nix under non-standard prefixes. (NIX-57) Eelco Dolstra 2006-09-25 11:11:16 +0000
  • 68ae953d8a * Clean up calls to system(). Eelco Dolstra 2006-09-25 10:44:27 +0000
  • 76c9710091 * Use builtins.toPath. Eelco Dolstra 2006-09-25 10:29:25 +0000
  • e347033f71 * The result of a concatenation with a derivation on the left-hand side should be a path, I guess. * Handle paths that are in the store but not direct children of the store directory. * Ugh, hack to prevent double context wrapping. Eelco Dolstra 2006-09-24 21:39:57 +0000
  • 0e705391db * Primop toPath' to convert a string to a path. * Primop pathExists' to check for path existence. Eelco Dolstra 2006-09-24 18:23:32 +0000
  • e47e0c2dbe * Builtin function `getEnv' for getting environment variables. Eelco Dolstra 2006-09-24 17:48:41 +0000
  • df8873e14a * lessThan primitive for integer comparison. Eelco Dolstra 2006-09-24 15:21:48 +0000
  • 2ab4bc44c7 * Builtin function `add' to add integers. * Put common test functions in tests/lang/lib.nix. Eelco Dolstra 2006-09-22 15:29:21 +0000
  • d315210612 * Added a builtin function `isList' to test whether a value is a list. With this primitive, a list-flattening function can be implemented (NIX-55, example is in tests/lang/eval-okay-flatten.nix). Eelco Dolstra 2006-09-22 14:55:19 +0000
  • c02a44183f * Builtin functions head' and tail' to return the head and tail of list. Useful for lots of things, such as implementing a fold function (see NIX-30, example is in tests/lang/eval-okay-list.nix). Eelco Dolstra 2006-09-22 14:46:36 +0000
  • 8a1ab709a4 * New builtin functions builtins.{hasAttr, getAttr} to check for attribute existence and to return an attribute from an attribute set, respectively. Example: hasAttr "foo" {foo = 1;}'. They differ from the ?' and `.' operators in that the attribute name is an arbitrary expression. (NIX-61) Eelco Dolstra 2006-09-22 14:31:55 +0000
  • 666babbbfa * Use a bounded amount of memory in scanForReferences() by not reading regular files into memory all at once. Eelco Dolstra 2006-09-22 13:10:30 +0000
  • 385c6f8737 * Supply the 64-bit ATerm patch, but don't apply it (since that requires rerunning Autoconf/Automake). Interested users should do that themselves. Eelco Dolstra 2006-09-22 12:07:41 +0000
  • d22d7565f3 * Don't allocate the buffer twice. Eelco Dolstra 2006-09-22 11:28:23 +0000
  • b43aeadbc9 * Don't allocate more than SIZE_MAX bytes. Eelco Dolstra 2006-09-22 11:13:35 +0000
  • 4cab35d1a6 * Build with -D_FILE_OFFSET_BITS=64 to support files >= 2^31 bytes (NIX-22). Eelco Dolstra 2006-09-22 11:13:12 +0000
  • 25df501704 * GC options in nix-store --help (NIX-15). Eelco Dolstra 2006-09-21 19:06:34 +0000
  • 0bd5eb71a0 * nix-install-package --url': install from a URL (NIX-12). * nix-install-package --help' (NIX-9). * `nix-install-package --non-interactive': don't prompt or pause. * Tests for nix-install-package. * Security fixes: filter the values obtained from the nixpkg. Eelco Dolstra 2006-09-21 18:54:08 +0000
  • 4e91d8621f * Fix comment. Eelco Dolstra 2006-09-21 18:52:05 +0000
  • ee5040421f * Try konsole and gnome-terminal in addition to xterm. Eelco Dolstra 2006-09-21 11:29:14 +0000
  • 1bdc152931 * Shut up a warning. Eelco Dolstra 2006-09-20 16:36:29 +0000
  • 1b804f88e4 * Absolute path to rm (NIX-51). * Don't hardcore /nix/bin and /nix/store. Eelco Dolstra 2006-09-20 16:23:14 +0000
  • 0623359fbc * Print a better error message for wrong hashes (NIX-49). Eelco Dolstra 2006-09-20 16:15:32 +0000
  • 22d13d6ec2 * Check for patch (NIX-59). Eelco Dolstra 2006-09-20 15:28:47 +0000
  • 947e645789 * Hide warnings about a missing "lsof" (NIX-54). Eelco Dolstra 2006-09-20 15:14:19 +0000
  • a060adf165 * Use paths, not strings, when calling the function that generates NARs. Fixes the impurity of nix-push (NIX-21). * Better help. Eelco Dolstra 2006-09-20 15:04:04 +0000
  • 7dd342e482 * Doh. Eelco Dolstra 2006-09-19 16:40:22 +0000
  • ee6cf99660 * Doh! Of course we have to take execute permission into account. * Restore the mtime on modified directories. Eelco Dolstra 2006-09-19 16:14:15 +0000
  • 6dbed1bf38 * `optimise-store.pl' reduces disk space consumption by hard-linking all identitical files in the Nix store to each other. (Previously it only computed the size that would be saved by doing so.) Eelco Dolstra 2006-09-19 14:58:35 +0000
  • 07cec27848 * Cleanups. Eelco Dolstra 2006-09-19 14:27:28 +0000
  • 9488ae7357 * `show-duplication.pl', a small utility that shows the amount of package duplication present in (e.g.) a profile. It shows the number of instances of each package in a closure, along with the size in bytes of each instance as well as the "waste" (the difference between the sum of the sizes of all instances and the average size). Eelco Dolstra 2006-09-19 13:53:35 +0000
  • e0afaf1857 * Wow, that bug has been there since r764. Eelco Dolstra 2006-09-14 22:48:59 +0000
  • 86cbd93ec1 * nix-env --switch-generation / --list-generations / --delete-generations: lock the profile to prevent (extremely unlikely) race conditions. Eelco Dolstra 2006-09-14 22:33:53 +0000
  • 5c38c863bd * Fix a huge gaping hole in nix-env w.r.t. the garbage collector. Nix-env failed to call addPermRoot(), which is necessary to safely add a new root. So if nix-env started after and finished before the garbage collector, the user environment (plus all other new stuff) it built might be garbage collected, leading to a dangling symlink chain in ~/.nix-profile... Eelco Dolstra 2006-09-14 22:30:33 +0000
  • f00bc4c94c * "Too many links" error. Eelco Dolstra 2006-09-12 09:29:28 +0000
  • 01d169f817 * Support `++'. * More follow restrictions on layout. Eelco Dolstra 2006-09-11 13:05:15 +0000
  • feb63da431 * Remove debug message. Eelco Dolstra 2006-09-08 09:31:07 +0000
  • a04a65d7a5 * Release notes. Eelco Dolstra 2006-09-06 14:29:49 +0000
  • 2e210b2387 * Convenience option `nix-collect-garbage -d' (--delete-old): removes old generations of *all* profiles in /nix/var/nix/profiles, then runs the garbage collector. Quick way to get rid of all old stuff. Of course, one cannot roll back to earlier points in time after this. Eelco Dolstra 2006-09-06 14:23:04 +0000
  • 89ac8db74f * Package the include directory. Eelco Dolstra 2006-09-05 11:34:50 +0000
  • a89a201598 * Missing #include. Eelco Dolstra 2006-09-05 10:32:47 +0000
  • fc195519b5 * Sone missing #includes. Eelco Dolstra 2006-09-05 08:54:48 +0000
  • bafc1690fc * Move setuid stuff to libutil. * Install libexpr header files. Eelco Dolstra 2006-09-04 22:55:28 +0000
  • e5a6c09b12 * Install header files in /nix/include/nix. Eelco Dolstra 2006-09-04 22:41:36 +0000
  • 4be5443882 * Remove unnecessary inclusions of aterm2.h. Eelco Dolstra 2006-09-04 22:08:40 +0000
  • 2382a729e0 * Don't need extern "C". Eelco Dolstra 2006-09-04 21:50:39 +0000
  • e3ce954582 * Compile the lexer as C++ code. Remove all the redundant C/C++ marshalling code. Eelco Dolstra 2006-09-04 21:36:15 +0000
  • 75068e7d75 * Use a proper namespace. * Optimise header file usage a bit. * Compile the parser as C++. Eelco Dolstra 2006-09-04 21:06:23 +0000
  • aab8812732 * Store the Nix libraries in ${libdir}/nix instead of ${libdir}. Eelco Dolstra 2006-09-04 15:12:24 +0000
  • 7974aae81c * New primop: builtins.toFile, which writes a string into the store and returns its path. This can be used to (for instance) write builders inside a Nix expression, e.g., Eelco Dolstra 2006-09-01 12:07:31 +0000
  • de90fdf908 * Allow "$" in strings as long as they are not followed by "{". (Too bad flex doesn't have lexical restrictions, the current solution isn't quite right...) Eelco Dolstra 2006-09-01 12:04:06 +0000
  • c9586b6c3f * Fix race condition in the test. Eelco Dolstra 2006-09-01 12:02:39 +0000
  • c25f688e23 * Doh! Doh! Doh! Eelco Dolstra 2006-08-31 15:38:43 +0000
  • 354d58b3d7 * Better error checking. Eelco Dolstra 2006-08-31 11:40:39 +0000
  • f93f7b75be * Okay, that's a bit harder than expected. Eelco Dolstra 2006-08-30 13:10:04 +0000
  • dce1afdc67 * TDD: == should do a deep equality test, i.e., it should strictly evaluate its arguments. Eelco Dolstra 2006-08-30 12:25:27 +0000
  • 3151bdea55 * Uninitialised variable. Eelco Dolstra 2006-08-30 12:00:27 +0000
  • 547b119f25 * Support singleton values and nested lists again in `args', but print a warning. Eelco Dolstra 2006-08-29 15:40:49 +0000
  • 2132d9ddeb * Fix the ~ operator. Eelco Dolstra 2006-08-29 15:29:38 +0000
  • 1f6616dabf * Backwards compatibility test for ~. Eelco Dolstra 2006-08-29 15:29:19 +0000
  • 1ec9f55741 * In toString, deal with nested lists properly (i.e., flatten them). Eelco Dolstra 2006-08-28 21:47:42 +0000