Commit graph

  • 9a99dc736d * Canonicalise paths so that Fix produces identical Nix expressions for identical inputs. Eelco Dolstra 2003-07-08 20:26:22 +0000
  • cab3f4977a * A path canonicaliser that doesn't depend on the existence of paths (i.e., it doesn't use realpath(3), which is broken in any case). Therefore it doesn't resolve symlinks. Eelco Dolstra 2003-07-08 19:58:41 +0000
  • 333f4963de * The output of a Derive() node is not a referenced path. Eelco Dolstra 2003-07-08 15:33:06 +0000
  • 40274c1f4f * A command to query the paths referenced by an fstate expression. * Use a temporary directory for build actions. Eelco Dolstra 2003-07-08 13:22:08 +0000
  • a279137327 * Get --dump' and --delete' to work again. Eelco Dolstra 2003-07-08 10:00:46 +0000
  • 85a913a3e7 * Renamed id' -> name' to remove the implication of uniqueness. Eelco Dolstra 2003-07-08 09:59:00 +0000
  • 0b38b43bab * deletePath() now removes the path from the hash2paths mapping. Eelco Dolstra 2003-07-08 09:54:47 +0000
  • ab644ad10b * BaseName() primitive for the generation of more sensible names (especially in fetchurl.fix). Eelco Dolstra 2003-07-08 09:53:46 +0000
  • a5a90f501e * Get rid of the netsources' database. * Rename the refs' database to `hash2paths'. Eelco Dolstra 2003-07-08 08:35:06 +0000
  • be96c2189c * --realise' -> --install'. Eelco Dolstra 2003-07-07 09:29:40 +0000
  • 5895c160c4 * Make dbRefs a mapping from Hash to [Path]. Eelco Dolstra 2003-07-07 09:25:26 +0000
  • 609a224848 * Fixed `make check' as well. Eelco Dolstra 2003-07-07 07:44:57 +0000
  • 224c585aba * Refactoring on the file names. Eelco Dolstra 2003-07-07 07:43:58 +0000
  • 7952a8053c * A utility `nix-hash' to compute Nix path hashes. Eelco Dolstra 2003-07-06 15:11:02 +0000
  • bfa5d77211 * Bug fix: properly check result of open(). Eelco Dolstra 2003-07-06 15:08:39 +0000
  • 82e3d8fafe * Got Fix working again. Eelco Dolstra 2003-07-06 14:20:47 +0000
  • f826e432aa * Refactoring: move initialisation and argument parsing into a shared file. Eelco Dolstra 2003-07-04 15:42:03 +0000
  • 01b34fe584 * Cleanup. Eelco Dolstra 2003-07-04 15:29:58 +0000
  • 207ff2caf0 * Caching of expression successors. Eelco Dolstra 2003-07-04 12:18:06 +0000
  • 40b5936691 * Realisation of Derive(...) expressions. Eelco Dolstra 2003-06-27 14:56:12 +0000
  • 3da9687854 * Realisation of File(...) expressions. Eelco Dolstra 2003-06-27 13:55:12 +0000
  • bb03c45ca0 * Added the Boost format library which provides a safe printf replacement. Eelco Dolstra 2003-06-27 13:41:42 +0000
  • d4c3edfaba * Normalisation. Eelco Dolstra 2003-06-27 09:55:31 +0000
  • 3ec5252582 * Improved syntax and semantics for Nix expressions. Eelco Dolstra 2003-06-25 15:50:37 +0000
  • 2b07b0e7eb * Minor cleanups. Eelco Dolstra 2003-06-25 14:58:56 +0000
  • 692b562342 * `nix --delete' command. Eelco Dolstra 2003-06-23 14:40:49 +0000
  • c0cbaef4be * `nix --restore' command. Eelco Dolstra 2003-06-23 14:08:34 +0000
  • 5f5cab0ac7 * A function to restore from a Nix archive. * addValue() can now import any dumpable FS object. Eelco Dolstra 2003-06-23 13:27:59 +0000
  • 85effedca3 * Flags to indicate how values are specified on the command line (--hash, --file, --name). Eelco Dolstra 2003-06-20 14:11:31 +0000
  • 5079ccb455 * Move most of Nix into a library (libnix.a). * Run test' on make check'. Eelco Dolstra 2003-06-20 10:53:04 +0000
  • 1849aa2a72 * Refactoring: move dump function into archive.cc. Eelco Dolstra 2003-06-20 10:40:25 +0000
  • 38e12df631 * `nix --dump' command. Eelco Dolstra 2003-06-18 14:34:43 +0000
  • aeaffec785 * Dump symlinks. Eelco Dolstra 2003-06-18 14:34:03 +0000
  • 94cf1f86bb * Lambdas, applications, substitutions. Eelco Dolstra 2003-06-18 12:36:12 +0000
  • bc57eb3c8a * Set CPLUS_INCLUDE_PATH as well as C_INCLUDE_PATH. Otherwise g++ won't see header files under Nix control. Eelco Dolstra 2003-06-18 12:35:32 +0000
  • fab7b128b9 * Automake sucks. Eelco Dolstra 2003-06-18 08:07:28 +0000
  • 34fcf5fa0c * Started integrating the new evaluation model into Nix. * Cleaned up command-line syntax. Eelco Dolstra 2003-06-17 21:12:58 +0000
  • 7a96da3627 * Test for expression dereferencing. Eelco Dolstra 2003-06-17 15:47:25 +0000
  • 6656993f83 * Derefencing of hashed expressions. Eelco Dolstra 2003-06-17 15:45:43 +0000
  • a7ab242fb4 * Simplify the evaluator. Eelco Dolstra 2003-06-17 13:37:44 +0000
  • c739e20585 * Argument processing. Eelco Dolstra 2003-06-16 21:01:18 +0000
  • 727beb798a * Canonicalization: when hashing directories, sort the directory entries by name. Eelco Dolstra 2003-06-16 16:16:09 +0000
  • 2f04e7102e * Path hashing. Eelco Dolstra 2003-06-16 15:59:23 +0000
  • a09e66da5a * Description of path hashing algorithm. Eelco Dolstra 2003-06-16 14:19:32 +0000
  • 822794001c * Started implementing the new evaluation model. * Lots of refactorings. * Unit tests. Eelco Dolstra 2003-06-16 13:33:38 +0000
  • b9f09b3268 * AST for Nix expressions. Eelco Dolstra 2003-06-16 07:03:40 +0000
  • 21fe717ce2 * Refactoring: hash class. Eelco Dolstra 2003-06-15 13:41:32 +0000
  • f66055fa1e * Set umask to 0022 on startup. Eelco Dolstra 2003-05-30 20:53:36 +0000
  • 5908663f42 * Send log output to stderr. Eelco Dolstra 2003-05-30 17:01:21 +0000
  • d1f5fd7216 * Log the output of builders to $prefix/var/log/nix. Eelco Dolstra 2003-05-30 15:21:52 +0000
  • 64582f54be * Open the database read-only when enumerating tables. Eelco Dolstra 2003-05-30 15:18:30 +0000
  • 383297e0e8 * Don't set MANPATH. It's not necessary. Eelco Dolstra 2003-05-30 15:17:40 +0000
  • 84e235eae8 * Set MANPATH and PKG_CONFIG_PATH. Eelco Dolstra 2003-05-30 11:49:06 +0000
  • 5e01b220b3 * Fix the rsync destination. Eelco Dolstra 2003-05-27 11:58:14 +0000
  • 4d21cda0cd * Fix for big-endian platforms: check for endianness in MD5 computations. This is done at runtime, which is inefficient, but I can't be bothered to write an Autoconf test right now. Eelco Dolstra 2003-05-27 09:55:47 +0000
  • 9efad76595 * FreeBSD / ISO C++ compatibility fixes. Eelco Dolstra 2003-05-26 15:09:10 +0000
  • d8bdf5b06e * Removed some debug code that prevented packages from building. Eelco Dolstra 2003-05-26 14:19:25 +0000
  • a9f2928ed6 * Moved the package descriptors and build scripts out of the Nix tree. Eelco Dolstra 2003-05-26 13:57:19 +0000
  • 8b930a0c94 * Some refactoring. Eelco Dolstra 2003-05-26 13:45:00 +0000
  • f8d91f20e6 * Nix can now fetch prebuilts (and other files) from the network, iff a mapping from the hash to a url has been registered through `nix regurl'. Eelco Dolstra 2003-05-26 09:44:18 +0000
  • 13176d74cc * Updated Fix descriptors to reflect the new Fix abstract syntax. Eelco Dolstra 2003-05-25 22:43:33 +0000
  • 7dd91d3779 * Prebuilt package sharing. We allow transparent binary deployment by sharing package directories (i.e., the result of building a Nix descriptor). Eelco Dolstra 2003-05-25 22:42:19 +0000
  • 0ef4b6d0f8 * Cleaned up the semantics of Fix expressions. Eelco Dolstra 2003-04-25 15:33:50 +0000
  • d6d930a975 * Bug fix: deleting the old links didn't work properly. Eelco Dolstra 2003-04-25 15:20:05 +0000
  • fcc5ae151b * Remove build directory from a package directory after building it. Eelco Dolstra 2003-04-25 15:01:15 +0000
  • 76205df09c * Removed old Nix descriptors. Eelco Dolstra 2003-04-24 11:45:23 +0000
  • 243370bc52 * nix-switch now removes the link to the previously activated system package as a root of the garbage collector, unless `--keep' is specified. Eelco Dolstra 2003-04-24 11:43:11 +0000
  • 24b3d0759e * File removed. Eelco Dolstra 2003-04-24 11:41:50 +0000
  • 9713e8577f * getpkg, delpkg, and so on now accept multiple arguments. Eelco Dolstra 2003-04-24 11:41:24 +0000
  • 49e0d743d7 * Fix descriptors for Pan and its dependencies. Eelco Dolstra 2003-04-23 21:21:06 +0000
  • f546e0cda4 * Fix descriptor for Subversion 0.21.0. Eelco Dolstra 2003-04-23 09:02:53 +0000
  • 6faa154c89 * Add "... || exit 1" to every command to catch failure. Eelco Dolstra 2003-04-23 07:23:01 +0000
  • e59c3246b9 * Redirect stdout to stderr when executing the build script. Eelco Dolstra 2003-04-23 07:21:57 +0000
  • f7526febe4 * A garbage collector for installed packages. nix-collect-garbage doesn't actually delete any packages, it just prints their descriptor hashes. So we can do Eelco Dolstra 2003-04-09 13:03:00 +0000
  • 30a6122f80 * When we activate a descriptor in nix-switch, remember its hash. This allows us to find out all `live' packages on the system by doing Eelco Dolstra 2003-04-09 12:46:44 +0000
  • b762f4df7f * In `fix --instantiate', only print out the hashes of the Nix descriptors generated out of Fix descriptors specified on the command line. This allows us to say: Eelco Dolstra 2003-04-09 12:37:49 +0000
  • aa8fda4b54 * We no longer use nix-populate standalone, rather we use it as a build action for `system' packages (like system.fix) that have dependencies on all packages we want to activate. Eelco Dolstra 2003-04-09 12:26:48 +0000
  • f56b7312b2 * Descriptor importing in Fix. Eelco Dolstra 2003-04-08 15:36:54 +0000
  • cc6eafb3d0 * FreeBSD / gcc 2.95 compatibility fixes. * A script to generate prebuilt registration scripts. Eelco Dolstra 2003-04-08 14:05:15 +0000
  • f7ef88df1f * Added some installation instructions to the readme. Eelco Dolstra 2003-04-08 12:13:57 +0000
  • 0d2b24cdd1 * `Fix' is a high-level descriptor instantiator for Nix. It replaces nix-instantiate. Eelco Dolstra 2003-04-08 12:00:51 +0000
  • 814b256da4 * Better installation: make directories, create database. * Fixed the register script. Eelco Dolstra 2003-04-06 22:19:26 +0000
  • 2eea8832f0 * The latest version of Pan. Eelco Dolstra 2003-04-06 22:17:47 +0000
  • 1447cf35bd * Delete source after building. Eelco Dolstra 2003-04-06 22:09:47 +0000
  • 136c00e881 * Autoconf / Automake configuration and building. Eelco Dolstra 2003-04-04 16:14:56 +0000
  • ab723e341a * Minor refactoring: use iterators to process arguments. Eelco Dolstra 2003-04-04 12:02:40 +0000
  • c68dca5dac * Script to register pre-built packages. Eelco Dolstra 2003-04-02 15:34:44 +0000
  • 5bc26fb73f * Importing and exporting of pre-built packages. Eelco Dolstra 2003-04-02 15:34:05 +0000
  • 383f9bb0f1 * Use ATerms for Nix descriptors. Eelco Dolstra 2003-04-01 14:00:47 +0000
  • ced20f187e * Nix descriptor for Subversion. Eelco Dolstra 2003-03-31 14:28:15 +0000
  • 31f177ef0a * Check for collissions. Eelco Dolstra 2003-03-28 16:27:23 +0000
  • 278ea4097e * Don't fork in `nix run'. Eelco Dolstra 2003-03-28 10:33:34 +0000
  • f915f77349 * Allow arguments to be passed to programs in `nix run'. Eelco Dolstra 2003-03-28 09:53:22 +0000
  • 0f40a560ca * Added a script nix-activate which builds a list of "activated" packages (i.e., the packages that should appear in the user's $PATH, and so on). Based on this list, the script nix-populate creates a hierarchy of symlinks to the relevant files in those packages (e.g., for pkg/bin and pkg/lib). Eelco Dolstra 2003-03-25 16:36:25 +0000
  • 3f1a1457e9 * Integrate hash into instantiated descriptor file names. * Use MD5::Digest. Eelco Dolstra 2003-03-25 11:39:51 +0000
  • 73c53935d0 * For efficiency: md5 integrated into nix. * Command nix ensure' which is like nix getpkg' except that if the has refers to a run action it will just ensure that the imports are there. * Command nix closure' to print out the closure of the set of descriptors under the import relation, starting at a set of roots. This can be used for garbage collection (e.g., given a list of activated' packages, we can delete all packages not reachable from those). * Command nix graph' to print out a Dot graph of the dependency graph. * nix-addroot' adds a root for the (unimplemented) garbage collector. Eelco Dolstra 2003-03-24 17:49:56 +0000
  • eeab86e0ac * Typo fix. Eelco Dolstra 2003-03-24 16:43:52 +0000
  • 2dc84e5569 * Descriptors now have a "system" field specifying the platform that the build or run action should be perfomed on. This ensures that descriptors have different hashes on different platforms. Eelco Dolstra 2003-03-24 12:49:40 +0000
  • 9d2f128252 * Refactoring. Eelco Dolstra 2003-03-24 11:50:20 +0000
  • 8d682ba551 * A descriptor for running the Pan newsreader. * Added descriptors for gtkspell and its support package pspell. Gtkspell is an optional dependency of Pan, so we should add the ability to nix-instantiate to instantiate variants of a package based on a selection of features. Eelco Dolstra 2003-03-23 23:28:28 +0000