aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-06Embed output name into the context of the *OutPath attributes and extract it ↵Shea Levy
for input derivations Multiple outputs test passes!
2011-11-06Fix stupid typo in multiple outputs testShea Levy
2011-11-06Include all outputs of derivations in the closure of explicitly-passed ↵Shea Levy
derivation paths This required adding a queryOutputDerivationNames function in the store API
2011-11-06The 'insert output between = signs' approach was not helpfulShea Levy
2011-11-06The nixinstantiate and nixstore env vars are no longer set in common.shShea Levy
2011-11-06Merge from trunkShea Levy
2011-11-05* Fix race condition in the test.Eelco Dolstra
2011-11-05* Fix the broken reference to bunzip2 in the channel unpack script.Eelco Dolstra
2011-11-03(no commit message)Eelco Dolstra
2011-11-03* The Nix configuration file is usually /etc/nix/nix.conf.Eelco Dolstra
2011-11-02* Fix permission on /nix/store in the manual for multi-user installsEelco Dolstra
(reported by Silvio Frischknecht).
2011-10-27* In printValueAsXML, handle the case where a "type" attribute is notEelco Dolstra
a string. This happens in the NixOS option system. * Remove a bogus comparison of a unsigned integer with -1.
2011-10-19* Print a consistent message.Eelco Dolstra
2011-10-18* nix-copy-closure: support ‘--dry-run’ and ‘--include-outputs’.Eelco Dolstra
2011-10-11* Use the Store API bindings in nix-copy-closure.Eelco Dolstra
2011-10-11* Add a test for nix-copy-closure.Eelco Dolstra
2011-10-11* Move the remote building test from the NixOS tree to the Nix tree.Eelco Dolstra
2011-10-11* Move SSH.pm.Eelco Dolstra
2011-10-11* Work around a race condition starting the Nix daemon.Eelco Dolstra
2011-10-11* Set svn:ignore.Eelco Dolstra
2011-10-11* Distribute GeneratePatches.pm.Eelco Dolstra
2011-10-10* Set the executable bit on scripts.Eelco Dolstra
2011-10-10* Refactoring: remove unnecessary variables from the tests.Eelco Dolstra
2011-10-10(no commit message)Eelco Dolstra
2011-10-10* Install NixManifest.pm, NixConfig.pm and GeneratePatches.pm underEelco Dolstra
the Nix:: namespace.
2011-10-10* Hopefully perl-devel contains the required headers (untested).Eelco Dolstra
2011-10-10* Include the Nix Perl bindings in Nix itself. This will allow theEelco Dolstra
bindings to be used in Nix's own Perl scripts. The only downside is that Perl XS and Automake/libtool don't really like each other, so building is a bit tricky.
2011-09-19Update gitignoreShea Levy
2011-09-19Ignore everything created during buildShea Levy
2011-09-17* Don't assume that we want a shared Nix store.Eelco Dolstra
2011-09-16Remove the current output metadata from the string for ↵Shea Levy
unsaveDiscardOutputDependency
2011-09-16Add information about which output is active to drvPath's contextShea Levy
This will break things that depend on being able to just strip away an equals sign, so those have to be updated next
2011-09-16Add an sCurrentOutput member to EvalStateShea Levy
2011-09-16Add a currentOutput attribute to derivations keep track of which output is ↵Shea Levy
active
2011-09-14Add a test for multiple outputsShea Levy
This currently fails. Yay test-driven development!
2011-09-14First attempt at the output-as-derivation semanticsShea Levy
For each output, this adds a corresponding attribute to the derivation that is the same as the derivation except for outPath, which is set to the path specific to that output. Additionally, an "all" attribute is added that is a list of all of the output derivations. This has to be done outside of derivationStrict as each output is itself a derivation that contains itself (and all other outputs) as an attribute. The derivation itself is equivalent to the first output in the outputs list (or "out" if that list isn't set).
2011-09-14Create a branch for me to play around with finishing off the multiple ↵Shea Levy
outputs implementation
2011-09-12* Ouch. A store upgrade could cause a substituter to be triggered,Eelco Dolstra
causing a deadlock.
2011-09-06bootstrap: Simplify & make more robust.Ludovic Courtès
2011-09-06* Added a command ‘nix-store --verify-paths PATHS’ to check whetherEelco Dolstra
the contents of any of the given store paths have been modified. E.g. $ nix-store --verify-path $(nix-store -qR /var/run/current-system) path `/nix/store/m2smyiwbxidlprfxfz4rjlvz2c3mg58y-etc' was modified! expected hash `fc87e271c5fdf179b47939b08ad13440493805584b35e3014109d04d8436e7b8', got `20f1a47281b3c0cbe299ce47ad5ca7340b20ab34246426915fce0ee9116483aa' All paths are checked; the exit code is 1 if any path has been modified, 0 otherwise.
2011-09-06* Add some -f flags, never hurts.Eelco Dolstra
2011-08-31* Eliminate all uses of the global variable ‘store’ from libstore.Eelco Dolstra
This should also fix: nix-instantiate: ./../boost/shared_ptr.hpp:254: T* boost::shared_ptr<T>::operator->() const [with T = nix::StoreAPI]: Assertion `px != 0' failed. which was caused by hashDerivationModulo() calling the ‘store’ object (during store upgrades) before openStore() assigned it.
2011-08-27* Update the cleanup script.Eelco Dolstra
2011-08-17* Use last_insert_id instead of sqlite_last_insert_rowid, which you'reEelco Dolstra
not really supposed to use according to the DBD::SQLite docs, and fails on some systems (e.g. http://hydra.nixos.org/build/1246662).
2011-08-08* On FreeBSD, ‘touch’ is not in the test $PATH, so don't use it.Eelco Dolstra
2011-08-08* Add perl-DBD-SQLite as a dependency of the RPM builds.Eelco Dolstra
2011-08-08* Add DBD-SQLite as a dependency to the Debian/Ubuntu builds.Eelco Dolstra
* Drop some old Fedora/Debian/Ubuntu releases.
2011-08-06* Cache the result of file evaluation (i.e, memoize evalFile()). ThisEelco Dolstra
prevents files from being evaluated and stored as values multiple times. For instance, evaluation of the ‘system’ attribute in NixOS causes ‘nixpkgs/pkgs/lib/lists.nix’ to be evaluated 2019 times. Caching gives a modest speedup and a decent memory footprint reduction (e.g., from 1.44s to 1.28s, and from 81 MiB to 59 MiB with GC_INITIAL_HEAP_SIZE=100000 on my system).
2011-08-06* Handle <path> syntax.Eelco Dolstra
2011-08-06* Handle the case where the search path element is a regular file.Eelco Dolstra