Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2003-06-20 | * Move most of Nix into a library (libnix.a). | Eelco Dolstra | 2 | -5/+12 | |
* Run `test' on `make check'. | |||||
2003-06-20 | * Refactoring: move dump function into archive.cc. | Eelco Dolstra | 7 | -183/+190 | |
2003-06-18 | * `nix --dump' command. | Eelco Dolstra | 2 | -4/+28 | |
2003-06-18 | * Dump symlinks. | Eelco Dolstra | 1 | -5/+17 | |
2003-06-18 | * Lambdas, applications, substitutions. | Eelco Dolstra | 3 | -4/+71 | |
2003-06-18 | * Set CPLUS_INCLUDE_PATH as well as C_INCLUDE_PATH. Otherwise g++ | Eelco Dolstra | 1 | -0/+1 | |
won't see header files under Nix control. | |||||
2003-06-18 | * Automake sucks. | Eelco Dolstra | 2 | -3/+3 | |
2003-06-17 | * Started integrating the new evaluation model into Nix. | Eelco Dolstra | 5 | -653/+117 | |
* Cleaned up command-line syntax. | |||||
2003-06-17 | * Test for expression dereferencing. | Eelco Dolstra | 2 | -1/+2 | |
2003-06-17 | * Derefencing of hashed expressions. | Eelco Dolstra | 4 | -28/+45 | |
2003-06-17 | * Simplify the evaluator. | Eelco Dolstra | 3 | -62/+49 | |
2003-06-16 | * Argument processing. | Eelco Dolstra | 3 | -12/+44 | |
2003-06-16 | * Canonicalization: when hashing directories, sort the directory | Eelco Dolstra | 1 | -7/+13 | |
entries by name. | |||||
2003-06-16 | * Path hashing. | Eelco Dolstra | 5 | -8/+178 | |
2003-06-16 | * Description of path hashing algorithm. | Eelco Dolstra | 2 | -8/+53 | |
2003-06-16 | * Started implementing the new evaluation model. | Eelco Dolstra | 15 | -201/+741 | |
* Lots of refactorings. * Unit tests. | |||||
2003-06-16 | * AST for Nix expressions. | Eelco Dolstra | 1 | -3/+67 | |
2003-06-15 | * Refactoring: hash class. | Eelco Dolstra | 8 | -184/+266 | |
2003-05-30 | * Set umask to 0022 on startup. | Eelco Dolstra | 3 | -0/+6 | |
2003-05-30 | * Send log output to stderr. | Eelco Dolstra | 1 | -2/+2 | |
2003-05-30 | * Log the output of builders to $prefix/var/log/nix. | Eelco Dolstra | 2 | -43/+69 | |
2003-05-30 | * Open the database read-only when enumerating tables. | Eelco Dolstra | 1 | -1/+1 | |
2003-05-30 | * Don't set MANPATH. It's not necessary. | Eelco Dolstra | 1 | -1/+1 | |
2003-05-30 | * Set MANPATH and PKG_CONFIG_PATH. | Eelco Dolstra | 1 | -1/+5 | |
2003-05-27 | * Fix the rsync destination. | Eelco Dolstra | 1 | -1/+1 | |
2003-05-27 | * Fix for big-endian platforms: check for endianness in MD5 computations. | Eelco Dolstra | 1 | -6/+19 | |
This is done at runtime, which is inefficient, but I can't be bothered to write an Autoconf test right now. | |||||
2003-05-26 | * FreeBSD / ISO C++ compatibility fixes. | Eelco Dolstra | 2 | -1/+3 | |
2003-05-26 | * Removed some debug code that prevented packages from building. | Eelco Dolstra | 2 | -60/+0 | |
2003-05-26 | * Moved the package descriptors and build scripts out of the Nix tree. | Eelco Dolstra | 29 | -378/+0 | |
2003-05-26 | * Some refactoring. | Eelco Dolstra | 8 | -235/+276 | |
2003-05-26 | * Nix can now fetch prebuilts (and other files) from the network, iff | Eelco Dolstra | 6 | -58/+121 | |
a mapping from the hash to a url has been registered through `nix regurl'. * Bug fix in nix: don't pollute stdout when running tar, it made nix-switch barf. * Bug fix in nix-push-prebuilts: don't create a subdirectory on the target when rsync'ing. | |||||
2003-05-25 | * Updated Fix descriptors to reflect the new Fix abstract syntax. | Eelco Dolstra | 14 | -31/+31 | |
2003-05-25 | * Prebuilt package sharing. We allow transparent binary deployment by | Eelco Dolstra | 9 | -79/+230 | |
sharing package directories (i.e., the result of building a Nix descriptor). `nix-pull-prebuilts' obtains a list of all known prebuilts by consulting the paths and URLs specified in $prefix/etc/nix/prebuilts.conf. The mappings ($pkghash, $prebuilthash) and ($prebuilthash, $location) are registered with Nix so that it can use the prebuilt with hash $prebuilthash when installing a package with hash $pkghash by downloading and unpacking $location. `nix-push-prebuilts' creates prebuilts for all packages for which no prebuilt is known to exist. It can then optionally upload these to the network through rsync. `nix-[pull|push]-prebuilts' just provide a policy. Nix provides the mechanism through the `nix [export|regprebuilt|regurl]' commands. | |||||
2003-04-25 | * Cleaned up the semantics of Fix expressions. | Eelco Dolstra | 18 | -150/+276 | |
* Conditionals and variables in Fix expressions. This allows, e.g., Descr( [ Bind("pkgId", "subversion-0.21.0") , Bind("httpsClient", Bool(True)) , Bind("httpServer", Bool(True)) , Bind("ssl", If(Var("httpsClient"), Fix("./openssl-0.9.7b.fix"), "")) , Bind("httpd", If(Var("httpServer"), Fix("./httpd-2.0.45.fix"), "")) ... ]) which introduces domain feature variables httpsClient and httpServer (i.e., whether Subversion is built with https client and webdav server support); the values of the variables influences package dependencies and the build scripts. The next step is to allow that packages can express constraints on each other. E.g., StrategoXT is dependent on an ATerm library with the "gcc" variant enabled. In fact, this may cause several Nix instantiations to be created from a single Fix descriptor. If possible, Fix should try to find the least set of instantiations that obeys the constraints. | |||||
2003-04-25 | * Bug fix: deleting the old links didn't work properly. | Eelco Dolstra | 1 | -2/+2 | |
2003-04-25 | * Remove build directory from a package directory after building it. | Eelco Dolstra | 1 | -3/+8 | |
2003-04-24 | * Removed old Nix descriptors. | Eelco Dolstra | 14 | -128/+0 | |
2003-04-24 | * nix-switch now removes the link to the previously activated system | Eelco Dolstra | 1 | -2/+20 | |
package as a root of the garbage collector, unless `--keep' is specified. | |||||
2003-04-24 | * File removed. | Eelco Dolstra | 1 | -22/+0 | |
2003-04-24 | * getpkg, delpkg, and so on now accept multiple arguments. | Eelco Dolstra | 1 | -19/+16 | |
2003-04-23 | * Fix descriptors for Pan and its dependencies. | Eelco Dolstra | 15 | -52/+145 | |
2003-04-23 | * Fix descriptor for Subversion 0.21.0. | Eelco Dolstra | 3 | -7/+16 | |
2003-04-23 | * Add "... || exit 1" to every command to catch failure. | Eelco Dolstra | 1 | -7/+7 | |
2003-04-23 | * Redirect stdout to stderr when executing the build script. | Eelco Dolstra | 1 | -0/+3 | |
2003-04-09 | * A garbage collector for installed packages. nix-collect-garbage | Eelco Dolstra | 2 | -1/+23 | |
doesn't actually delete any packages, it just prints their descriptor hashes. So we can do nix info $(nix-collect-garbage) to print out the ids of the packages that would be deleted, and nix delpkg $(nix-collect-garbage) to actually delete them. | |||||
2003-04-09 | * When we activate a descriptor in nix-switch, remember its hash. | Eelco Dolstra | 1 | -1/+7 | |
This allows us to find out all `live' packages on the system by doing nix closure $(cat /nix/var/nix/links/*.hash) which will print out the activated configurations and all packages referenced by them. We could then garbage collect unused packages by deleting the difference between `nix listinst' and the set returned by `nix closure ...'. | |||||
2003-04-09 | * In `fix --instantiate', only print out the hashes of the Nix | Eelco Dolstra | 1 | -3/+1 | |
descriptors generated out of Fix descriptors specified on the command line. This allows us to say: nix-switch $(fix -i ./test/fixdescriptors/system.fix) | |||||
2003-04-09 | * We no longer use nix-populate standalone, rather we use it as a | Eelco Dolstra | 8 | -42/+85 | |
build action for `system' packages (like system.fix) that have dependencies on all packages we want to activate. So the command sequence to switch to a new activation configuration of the system would be: $ fix -i .../fixdescriptors/system.fix ... system.fix -> 89cf4713b37cc66989304abeb9ea189f $ nix-switch 89cf4713b37cc66989304abeb9ea189f * A nix-profile.sh script that can be included in .bashrc. | |||||
2003-04-08 | * Descriptor importing in Fix. | Eelco Dolstra | 6 | -14/+48 | |
2003-04-08 | * FreeBSD / gcc 2.95 compatibility fixes. | Eelco Dolstra | 4 | -36/+50 | |
* A script to generate prebuilt registration scripts. |