54664b6fb7* The write() system call can write less than the requested number of bytes, e.g., in case of a signal like SIGSTOP. This caused `nix --dump' to fail sometimes.
Eelco Dolstra
2003-07-16 21:24:02 +0000
6822fd7bf4* Bug fix: slices are transitive, so if we detect that an input path is referenced in an output paths, we also have to add all ids referenced by that input path. * Better debug assertions to catch these sorts of errors.
Eelco Dolstra
2003-07-16 20:33:29 +0000
d41d085b77* Get Fix and Nix to work again.
Eelco Dolstra
2003-07-15 22:28:27 +0000
7b3f44e05b* The new normaliser now passes the unit tests.
Eelco Dolstra
2003-07-15 21:24:05 +0000
f5b6fa5256* Basic work on allowing derive expressions to build multiple paths. This is not entirely trivial since this introduces the possibility of mutual recursion. * Made normal forms self-contained. * Use unique ids, not content hashes, for content referencing.
Eelco Dolstra
2003-07-15 16:28:54 +0000
8898e86b4f* Get the garbage collector to work again.
Eelco Dolstra
2003-07-14 10:45:04 +0000
3509299aca* After building, scan for actual file system references as opposed to declared references. This prunes the reference graph, thus allowing better garbage collection and more efficient derivate distribution.
Eelco Dolstra
2003-07-14 10:23:11 +0000
135b7d54db* Don't check for staleness by default.
Eelco Dolstra
2003-07-13 21:43:57 +0000
e6363b05ae* Pass $(prefix) and other variables through -D..., not through config.h, to prevent silly Autoconf problems.
Eelco Dolstra
2003-07-13 19:26:00 +0000
9c620e4afa* Generate the scripts so that we can substitute the prefix etc. correctly. * Fixed nix-switch.
Eelco Dolstra
2003-07-13 18:58:03 +0000
73b163c1a1* Fix a bug that caused Fix not to be deterministic (due to addToStore returning different paths if the hash of the path to be added was already available in the store under a different name).
Eelco Dolstra
2003-07-11 08:41:03 +0000
c834a5c597* Fix handling of pipes (read(2) may not return the required number of bytes in one call).
Eelco Dolstra
2003-07-11 08:16:15 +0000
1d1c3691d2* The policy-free derivate sharing now *almost* works. :-) For any hash for which no local expansion is available, Nix can execute a `substitute' which should produce a path with such a hash.
Eelco Dolstra
2003-07-10 15:11:48 +0000
d072485d28* Get `nix-push' working again. It now uses Nix/Fix to create Nix archives (using the package in corepkgs/nar). * queryPathByHash -> expandHash, and it takes an argument specifying the target path (which may be empty). * Install the core Fix packages in $prefix/share/fix. TODO: bootstrap Nix and install Nix as a Fix package.
Eelco Dolstra
2003-07-10 13:41:28 +0000
5d4b90b689* Actually go through the search directories when looking for files.
Eelco Dolstra
2003-07-10 09:21:40 +0000
089b436175* Deleted the sys directory.
Eelco Dolstra
2003-07-10 09:12:52 +0000
b96239c657* Moved the fetchutl package to corepkgs.
Eelco Dolstra
2003-07-10 09:11:30 +0000
9ebd78144a* Added a directory for standard Fix descriptors.
Eelco Dolstra
2003-07-10 09:09:48 +0000
6011bd0da2* Outline of the new scheme for derivate distribution.
Eelco Dolstra
2003-07-09 16:12:40 +0000
2b95a9dc05* When computing the set of paths referenced by an expression, also include the paths of the subterms.
Eelco Dolstra
2003-07-09 15:02:03 +0000
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
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
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