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
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
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
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
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
20d165c344* A command to run programs in Nix packages, that is, to execute a run action. Run actions are described by uniquely hashed descriptors, just like build actions. Therefore run actions can have dependencies, but these need not be the same as the build time dependencies (e.g., at runtime we can link against a different version of a dynamic library). Example:
Eelco Dolstra
2003-03-23 23:24:09 +0000
800d8e950f* Added a command to list installed packages.
Eelco Dolstra
2003-03-21 15:58:40 +0000
2e59698b78* Added a command to verify the consistency of the database.
Eelco Dolstra
2003-03-21 15:53:35 +0000
fa51d6fcd9* Forgot to commit this one.
Eelco Dolstra
2003-03-21 14:11:44 +0000
e582ee67cd* Fetch sources from the network.
Eelco Dolstra
2003-03-21 14:10:06 +0000
4c43711810* Descriptor templates for the Pan newsreader and all its dependencies.
Eelco Dolstra
2003-03-20 22:25:01 +0000
cadc3852e4* nix-instantiate now instantiantes the closure of the set of descriptor templates under the import relation. I.e., we can now say:
Eelco Dolstra
2003-03-20 22:23:48 +0000
f7a98e081d* Various updates.
Eelco Dolstra
2003-03-20 16:53:00 +0000
b3594e9eaf* A script to instantiate package descriptors from templates.
Eelco Dolstra
2003-03-20 16:52:30 +0000
8999f923ea* Improved Nix. Resources (package descriptors and other source files) are now referenced using their cryptographic hashes.
Eelco Dolstra
2003-03-14 16:43:14 +0000
18ebf518de* Converted to C++.
Eelco Dolstra
2003-03-13 16:28:32 +0000
75d788b0f2* Initial version of nix.
Eelco Dolstra
2003-03-13 14:24:49 +0000
841fcbd047* And a trunk to go along with that.
Eelco Dolstra
2003-03-12 13:32:24 +0000