summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)Author
2003-06-23* A function to restore from a Nix archive.Eelco Dolstra
* addValue() can now import any dumpable FS object.
2003-06-20* Flags to indicate how values are specified on the command lineEelco Dolstra
(--hash, --file, --name).
2003-06-20* Move most of Nix into a library (libnix.a).Eelco Dolstra
* Run `test' on `make check'.
2003-06-20* Refactoring: move dump function into archive.cc.Eelco Dolstra
2003-06-18* `nix --dump' command.Eelco Dolstra
2003-06-18* Dump symlinks.Eelco Dolstra
2003-06-18* Lambdas, applications, substitutions.Eelco Dolstra
2003-06-18* Automake sucks.Eelco Dolstra
2003-06-17* Started integrating the new evaluation model into Nix.Eelco Dolstra
* Cleaned up command-line syntax.
2003-06-17* Test for expression dereferencing.Eelco Dolstra
2003-06-17* Derefencing of hashed expressions.Eelco Dolstra
2003-06-17* Simplify the evaluator.Eelco Dolstra
2003-06-16* Argument processing.Eelco Dolstra
2003-06-16* Canonicalization: when hashing directories, sort the directoryEelco Dolstra
entries by name.
2003-06-16* Path hashing.Eelco Dolstra
2003-06-16* Description of path hashing algorithm.Eelco Dolstra
2003-06-16* Started implementing the new evaluation model.Eelco Dolstra
* Lots of refactorings. * Unit tests.
2003-06-16* AST for Nix expressions.Eelco Dolstra
2003-06-15* Refactoring: hash class.Eelco Dolstra
2003-05-30* Set umask to 0022 on startup.Eelco Dolstra
2003-05-30* Send log output to stderr.Eelco Dolstra
2003-05-30* Log the output of builders to $prefix/var/log/nix.Eelco Dolstra
2003-05-30* Open the database read-only when enumerating tables.Eelco Dolstra
2003-05-27* Fix for big-endian platforms: check for endianness in MD5 computations.Eelco Dolstra
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
2003-05-26* Removed some debug code that prevented packages from building.Eelco Dolstra
2003-05-26* Some refactoring.Eelco Dolstra
2003-05-26* Nix can now fetch prebuilts (and other files) from the network, iffEelco Dolstra
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* Prebuilt package sharing. We allow transparent binary deployment byEelco Dolstra
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
* 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* Remove build directory from a package directory after building it.Eelco Dolstra
2003-04-24* File removed.Eelco Dolstra
2003-04-24* getpkg, delpkg, and so on now accept multiple arguments.Eelco Dolstra
2003-04-23* Redirect stdout to stderr when executing the build script.Eelco Dolstra
2003-04-09* In `fix --instantiate', only print out the hashes of the NixEelco Dolstra
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 aEelco Dolstra
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
2003-04-08* FreeBSD / gcc 2.95 compatibility fixes.Eelco Dolstra
* A script to generate prebuilt registration scripts.
2003-04-08* `Fix' is a high-level descriptor instantiator for Nix. It replacesEelco Dolstra
nix-instantiate.
2003-04-06* Better installation: make directories, create database.Eelco Dolstra
* Fixed the register script.
2003-04-04* Autoconf / Automake configuration and building.Eelco Dolstra
2003-04-04* Minor refactoring: use iterators to process arguments.Eelco Dolstra
2003-04-02* Script to register pre-built packages.Eelco Dolstra
2003-04-02* Importing and exporting of pre-built packages.Eelco Dolstra
2003-04-01* Use ATerms for Nix descriptors.Eelco Dolstra
2003-03-28* Check for collissions.Eelco Dolstra
2003-03-28* Don't fork in `nix run'.Eelco Dolstra
2003-03-28* Allow arguments to be passed to programs in `nix run'.Eelco Dolstra
2003-03-25* Added a script nix-activate which builds a list of "activated"Eelco Dolstra
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). A nice property of nix-populate is that on each run it creates a *new* tree, rather than updating the old one. It then atomically switches over to the new tree. This allows atomic upgrades or rollbacks on the set of activated packages.
2003-03-25* Integrate hash into instantiated descriptor file names.Eelco Dolstra
* Use MD5::Digest.