Commit graph

  • ac4d39f9db * Added an operator ?' to test for attribute existence, e.g., attrs ? x' yields true iff attrs' has an attribute named x'. Eelco Dolstra 2004-03-28 21:15:01 +0000
  • f958bcdf1f * Added an operator `~' to select paths within a derivation. E.g., Eelco Dolstra 2004-03-28 20:58:28 +0000
  • db3e644c1c * Added plain lambdas, e.g., let { id = x: x; const = x: y: x; }'. bla:' is now no longer parsed as a URL. Eelco Dolstra 2004-03-28 20:34:22 +0000
  • f8cd904e05 * Disallow the Nix store or any of its parents from being symlinks. This is because the contents of these symlinks are not incorporated into the hashes of derivations, and could therefore cause a mismatch between the build system and the target system. E.g., if /nix/store' is a symlink to /data/nix/store', then a builder could expand this path and store the result. If on the target system `/nix/store' is not a symlink, or is a symlink that points somewhere else, we have a dangling pointer. Eelco Dolstra 2004-03-27 17:58:04 +0000
  • f0f7a9f299 * Do not close a nesting level twice after close() has been called explicitly on a Nest object. Eelco Dolstra 2004-03-27 15:33:19 +0000
  • 7823db2137 * Some more nesting. Eelco Dolstra 2004-03-22 21:42:28 +0000
  • 777e13b94b * Nix now has three different formats for the log information it writes to stderr: Eelco Dolstra 2004-03-22 20:53:49 +0000
  • 79bb0008ec * `null' is a normal form. Eelco Dolstra 2004-03-19 14:45:45 +0000
  • e6253b58cd * Escape codes to force line breaks to be ignored. Eelco Dolstra 2004-03-18 21:32:15 +0000
  • 3f3c4cce5a * Added an extra escape code to signal "unimportant" messages. If a tree only has unimportant messages, it is collapsed by the default. * Also added an optional integer argument to the escape code for opening a nesting level to indicate lack of importance. If set, the tree is collapsed by default. Eelco Dolstra 2004-03-18 21:04:14 +0000
  • 84c617966b * Collapsable trees. Eelco Dolstra 2004-03-18 18:26:22 +0000
  • c2fc2c13c9 * Use unordered lists, which is more sensible semantically for representing tree structures. Eelco Dolstra 2004-03-18 14:58:16 +0000
  • a784fd5792 * Don't use tables. Konqueror likes this much better. Eelco Dolstra 2004-03-18 13:04:05 +0000
  • 8ce3dd4887 * Display the popup directly over the abbreviation. Eelco Dolstra 2004-03-17 16:55:53 +0000
  • 8330c8202a * A simpler way of implementing the store reference popups, thanks to Martin and CSS guru Martijn Vermaat. Eelco Dolstra 2004-03-17 16:52:48 +0000
  • b5539e7a30 * Store paths are now abbreviated in the generated HTML file. Hovering over the abbreviated path will reveal the full path. This probably only works in Mozilla. Eelco Dolstra 2004-03-16 12:47:09 +0000
  • 9d2669d218 * Added a utility that can be used to produce nice HTML pages from Nix build logs. The program log2xml' converts a Nix build log (read from standard input) into XML file that can then be converted to XHTML by the log2html.xsl' stylesheet. The CSS stylesheet `logfile.css' is necessary to make it look good. Eelco Dolstra 2004-03-15 21:51:14 +0000
  • beda10f5a2 * Make perl a dependency of Nix. Eelco Dolstra 2004-03-15 15:23:53 +0000
  • a5619f1dff * Set the NIX_STORE and NIX_BUILD_TOP environment variables in builders to point to the store and the temporary build directory, respectively. Useful for purity checking. * Also set TEMPDIR, TMPDIR, TEMP, and TEMP to NIX_BUILD_TOP to make sure that tools in the builder store temporary files in the right location. Eelco Dolstra 2004-03-12 10:45:08 +0000
  • 7f0ed370da * Use $(storedir) instead of $(prefix)/store. Eelco Dolstra 2004-02-20 11:32:30 +0000
  • dbf547645d * Resolve an ambiguity between ifs and attribute selection, e.g., `if b then x else y.z'. Eelco Dolstra 2004-02-19 13:11:12 +0000
  • 86b7efbdbe * Don't build ATerm library if we don't need to. Eelco Dolstra 2004-02-16 16:48:06 +0000
  • 0dfdafdf6d * Allow linking against an external Berkeley DB / ATerm library. Eelco Dolstra 2004-02-16 16:37:16 +0000
  • f34de12140 * Allow the location of the store to be specified (--with-store-dir). * Do not create stuff in localstatedir when doing `make install' (since we may not have write access). In general, installation of constant code/data should be separate from the initialisation of mutable state. Eelco Dolstra 2004-02-16 15:23:19 +0000
  • fbc48a469c * Inherited attributes in recursive attribute sets are in scope of the non-inherited attributes. Eelco Dolstra 2004-02-16 09:18:35 +0000
  • 76c0e85929 * The environment variable NIX_ROOT can now be set to execute Nix in a chroot() environment. * A operation `--validpath' to register path validity. Useful for bootstrapping in a pure Nix environment. * Safety checks: ensure that files involved in store operations are in the store. Eelco Dolstra 2004-02-14 21:44:18 +0000
  • 6f5a5ea5ea * Regression fix: realise substitutes and detect cycles. Eelco Dolstra 2004-02-13 10:45:09 +0000
  • 1ad9d11247 * Only include predecessors that are themselves being pushed. Otherwise the substitute mechanism can break in subtle ways. Eelco Dolstra 2004-02-13 10:43:31 +0000
  • 00fe1a506f * When creating a new generation, also make the normal form of the derivation (i.e., the closure store expression) a root of the garbage collector. This ensures that running `nix-collect-garbage --no-successors' is safe. Eelco Dolstra 2004-02-11 10:25:31 +0000
  • 92e832348d * Lots of manual stuff. Reference pages for most Nix commands. * nix-pull now requires the full url to the manifest, i.e., `/MANIFEST/' is no longer automatically appended. * nix-prefetch-url works again. Eelco Dolstra 2004-02-10 16:14:47 +0000
  • 6551b36790 * Print what generation we are switching to; honour --dry-run flag. Eelco Dolstra 2004-02-10 13:42:58 +0000
  • 0616b7feea * Documented the most important nix-env flags. Eelco Dolstra 2004-02-10 11:51:16 +0000
  • 618aa69b01 * In --upgrade': added flags --lt', --leq', --always' to specify whether we want to upgrade if the current version is less than the available version (default), when it is less or equal, or always. Eelco Dolstra 2004-02-09 11:59:39 +0000
  • 06a75a7e0c * A command `--switch-generation' to switch to a specific generation of the current profile, e.g., Eelco Dolstra 2004-02-08 14:07:43 +0000
  • b8675aee54 * In `--list-generations', show what the current generation is. Eelco Dolstra 2004-02-06 16:16:55 +0000
  • 73ab2ed4fd * A command `--list-generations' to show all generations for a profile. Eelco Dolstra 2004-02-06 16:03:27 +0000
  • 7c0fa4474f * More refactoring. Eelco Dolstra 2004-02-06 14:57:10 +0000
  • 7abf9911d9 * Refactoring. Eelco Dolstra 2004-02-06 14:49:41 +0000
  • 49bafe1faf * Use the profile pointed to by ~/.nix-profile if no --profile argument is specified. Eelco Dolstra 2004-02-06 10:59:06 +0000
  • 66e94d3275 * Improvements to profiles. Generations are now per-profile, e.g., Eelco Dolstra 2004-02-06 10:30:20 +0000
  • d445da7a7b * Extended the `inherit' syntax to optionally select attributes from other attribute sets, rather than the current scope. E.g., Eelco Dolstra 2004-02-04 17:23:26 +0000
  • 9d25466b34 * An attribute set update operator (//). E.g., Eelco Dolstra 2004-02-04 16:49:51 +0000
  • 6d46e647ba * Fixed the old envpkgs filename. Eelco Dolstra 2004-02-04 16:20:51 +0000
  • 9b44480612 * Use a map to lookup primops. * Various performance improvements in the evaluator. * Do not link against unused (and missing!) libraries (-lsglr, etc.). Eelco Dolstra 2004-02-04 16:03:29 +0000
  • c4f7ae4aa5 * Verify that all variables in a Nix expression are defined. Eelco Dolstra 2004-02-03 14:45:34 +0000
  • 1c9c0a5a46 * Added syntactic sugar to the construction of attribute sets to `inherit' variables from the surrounding lexical scope. Eelco Dolstra 2004-02-02 21:39:33 +0000
  • d9f30fe7c7 * Sort nix-env -q' output by derivation name. * --version' flag for all commands. * Manual updates. Eelco Dolstra 2004-02-02 10:51:54 +0000
  • 47c003cb59 * Doh! Eelco Dolstra 2004-01-30 17:14:08 +0000
  • 619f20775d * Parser numbers again. * Include missing files in distributions. Eelco Dolstra 2004-01-30 17:06:03 +0000
  • c625718513 * Detect flex and bison; updated the manual. Eelco Dolstra 2004-01-30 16:32:14 +0000
  • c5baaafae6 * Replaced the SDF parser by a substantially faster Bison/Flex parser (roughly 80x faster). Eelco Dolstra 2004-01-30 15:21:42 +0000
  • abd1878b26 * Optimised the SDF grammar. Eelco Dolstra 2004-01-29 14:24:53 +0000
  • 3648d1c732 * Explicitly compute the release name. Eelco Dolstra 2004-01-22 13:04:57 +0000
  • cdb50886f4 * Typos. Eelco Dolstra 2004-01-22 09:35:35 +0000
  • 3c4bc7276a * Added a note about adding /nix/etc/profile.d/nix.sh to the profile. Eelco Dolstra 2004-01-22 09:17:55 +0000
  • 4f72b408a5 Typos and url losser -> catamaran Martin Bravenboer 2004-01-22 08:47:59 +0000
  • 840551ebdb * Extra bit S' in --query --status' output: show whether there are any substitutes for the derivation. Eelco Dolstra 2004-01-21 16:41:17 +0000
  • 1109ea0680 * Fixed a subtle uninitialised variable bug in ATermMaps copied from ATermMaps. Found thanks to Valgrind! Eelco Dolstra 2004-01-21 14:49:32 +0000
  • 47f19b6293 * Absolutise the specified path in --import' and --profile'. Eelco Dolstra 2004-01-20 20:36:58 +0000
  • 4db7ef3fcc * Fixed URL. Eelco Dolstra 2004-01-20 17:18:41 +0000
  • 3778586b2a * Nix Quick Start guide. Eelco Dolstra 2004-01-20 15:37:55 +0000
  • 8baf50f108 * Manual updates. * Updated the README. Now it just refers to the manual. Eelco Dolstra 2004-01-20 11:49:32 +0000
  • 699989b216 * Ignore exit code from strip. Eelco Dolstra 2004-01-19 09:01:28 +0000
  • 3a4a4aaa88 * Strip binaries in RPMs. Eelco Dolstra 2004-01-19 08:49:25 +0000
  • f899e8ce4d * Test whether the symlink, not its target, exists. Eelco Dolstra 2004-01-16 15:17:36 +0000
  • b1c5f3c10d * Doh! Edited readmanifest.pm' instead of readmanifest.pm.in'. Eelco Dolstra 2004-01-16 14:54:39 +0000
  • 291030b900 * Remove debug message. Eelco Dolstra 2004-01-15 20:58:44 +0000
  • 447089a5f6 * Catch SIGINT to terminate cleanly when the user tries to interrupt Nix. This is to prevent Berkeley DB from becoming wedged. Eelco Dolstra 2004-01-15 20:23:55 +0000
  • 08719c6c97 * Obsolete. Eelco Dolstra 2004-01-15 20:13:54 +0000
  • 55e11bc0d3 * In nix-env --query --status', determine the I' bit by looking at the output path of a derivation, not the path of its store expression. This ensures that changes that affect the path of the store expression but not the output path, do not affect the `installed' state of a derivation. Eelco Dolstra 2004-01-15 14:43:00 +0000
  • 9a404e45c9 * Synchronous nix-pull' with nix-push'. * Use curl instead of wget. Eelco Dolstra 2004-01-14 14:20:33 +0000
  • 16f9b133ec * Improved `nix-push': it now uses HTTP PUT (instead of rsync) to copy files. Target location is no longer hard-coded; it accepts a number of URLs on the command line. Eelco Dolstra 2004-01-14 11:13:08 +0000
  • ff9af107d3 * Option `-B' to always show the output of builders, regardless of verbosity level. Eelco Dolstra 2004-01-13 16:35:43 +0000
  • 3495d153b3 * Periodically checkpoint the log. Eelco Dolstra 2004-01-13 13:37:25 +0000
  • 698e880c9f * Tricky: make sure that the accessor count is not reset to 0 if recovery fails. Eelco Dolstra 2004-01-13 12:36:43 +0000
  • 23fbc72f5d * Print error messages, not debug messages. Eelco Dolstra 2004-01-13 11:53:12 +0000
  • 4c4fe7a114 * Changed the extension for store expressions from ".nix" to ".store" (following the Usenix paper). Eelco Dolstra 2004-01-12 10:44:48 +0000
  • 46a71c857c * Option --force-realise' in nix-store --query'. Eelco Dolstra 2004-01-09 14:18:28 +0000
  • 30b31a8f61 * Start of nix-env reference. * Some CSS tweaks. Eelco Dolstra 2004-01-08 16:56:40 +0000
  • b594215531 * Manual updates. Eelco Dolstra 2004-01-08 15:01:37 +0000
  • 5346536b62 * Include version number in manual. Eelco Dolstra 2004-01-08 10:45:23 +0000
  • 7959354379 * Upgraded to Berkeley DB 4.2.52. The main advantage of 4.2 is that it automatically removes log files when they are no longer needed. Eelco Dolstra 2004-01-07 15:53:14 +0000
  • abe8c8c2aa * Include images/ in distribution. Eelco Dolstra 2004-01-07 10:59:38 +0000
  • 1ff986d51a * book -> manual Eelco Dolstra 2004-01-06 16:38:32 +0000
  • 2f0b93904b * Install images. Eelco Dolstra 2004-01-06 16:35:07 +0000
  • 4a373a3e9a * Implemented Eelco V.'s `nix-env -I' command to specify the default path of the Nix expression to be used with the import, upgrade, and query commands. For instance, Eelco Dolstra 2004-01-05 16:26:43 +0000
  • f83c5e3e5f * Implemented Eelco V.'s `-p' command to switch profiles. It switches the symlink ~/.nix-userenv to the given argument (which defaults to .../links/current). /etc/profile.d/nix-profile creates this symlink if it doesn't exist yet. Example use: Eelco Dolstra 2004-01-05 11:18:59 +0000
  • 0e68af0ce3 * RPM sucks. Eelco Dolstra 2004-01-02 16:09:59 +0000
  • 9ff3657095 * Generate RPM spec file. Eelco Dolstra 2004-01-02 16:04:53 +0000
  • 0e09cc12c0 * Add $prefix/store to the RPM. * Allow extra flags to be passed to RPM. Eelco Dolstra 2004-01-02 14:58:25 +0000
  • 94175e978a * RPM spec file. * Respect DESTDIR variable. Eelco Dolstra 2003-12-30 20:09:00 +0000
  • 68f2fadb78 * nix-pull requires libexecdir to be substituted. Eelco Dolstra 2003-12-23 22:15:12 +0000
  • 392b7e0f8e * Fixed a bug in the upgrade operation. Eelco Dolstra 2003-12-23 22:13:36 +0000
  • 833f2fc92d * GCC 2.95 compatibility. Eelco Dolstra 2003-12-22 16:40:46 +0000
  • cf0287c09e * Upgrade operation in `nix-env'. For instance, you can say Eelco Dolstra 2003-12-22 16:04:00 +0000
  • f3c9783846 * Version numbers can be omitted in install/uninstall. E.g., Eelco Dolstra 2003-12-21 23:58:56 +0000
  • a81b621202 * -u' -> -e'. * --link' / -l' flag to specify the switch symlink to use (by default, /nix/var/nix/links/current). Eelco Dolstra 2003-12-21 22:34:41 +0000
  • 0a753e182a * Oops. Eelco Dolstra 2003-12-21 22:02:58 +0000
  • df7a718786 * Man pages in sections. Eelco Dolstra 2003-12-21 21:57:09 +0000
  • 397c8ba898 * Missing semicolons. Eelco Dolstra 2003-12-21 21:56:54 +0000