Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-12-01 | * Allow '<nixexpr>' syntax to be used in nix-instantiate, nix-build | Eelco Dolstra | 1 | -1/+1 | |
and nix-env, e.g., $ nix-env -f '<nixpkgs>' -i patchelf or $ nix-build '<nixos/tests>' -A login.test | |||||
2011-08-31 | * Eliminate all uses of the global variable ‘store’ from libstore. | Eelco Dolstra | 2 | -5/+5 | |
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-06 | * Add a Nix expression search path feature. Paths between angle | Eelco Dolstra | 1 | -0/+2 | |
brackets, e.g. import <nixpkgs/pkgs/lib> are resolved by looking them up relative to the elements listed in the search path. This allows us to get rid of hacks like import "${builtins.getEnv "NIXPKGS_ALL"}/pkgs/lib" The search path can be specified through the ‘-I’ command-line flag and through the colon-separated ‘NIX_PATH’ environment variable, e.g., $ nix-build -I /etc/nixos ... If a file is not found in the search path, an error message is lazily thrown. | |||||
2011-08-06 | * Refactoring: move parseExprFromFile() and parseExprFromString() into | Eelco Dolstra | 2 | -7/+5 | |
the EvalState class. | |||||
2011-04-11 | * `nix-env -ub' (`--prebuilt-only') didn't really work because it | Eelco Dolstra | 1 | -17/+20 | |
checked too soon whether substitutes are available. That is, it did so for every available package, rather than those matching installed packages. This was very slow and subject to assertion failures. So do the check much later. Idem for `nix-env -qab' and `nix-env -ib'. | |||||
2010-11-16 | * Sync with the trunk. | Eelco Dolstra | 2 | -21/+27 | |
2010-10-28 | * Handle out of memory condition. | Eelco Dolstra | 1 | -2/+1 | |
2010-10-24 | * When allocating an attribute set, reserve enough space for all | Eelco Dolstra | 1 | -3/+3 | |
elements. This prevents the vector from having to resize itself. | |||||
2010-10-24 | * Keep attribute sets in sorted order to speed up attribute lookups. | Eelco Dolstra | 2 | -7/+12 | |
* Simplify the representation of attributes in the AST. * Change the behaviour of listToAttrs() in case of duplicate names. | |||||
2010-10-23 | * Remove allocValues(). | Eelco Dolstra | 1 | -2/+2 | |
2010-10-22 | * Store Value nodes outside of attribute sets. I.e., Attr now stores | Eelco Dolstra | 2 | -13/+14 | |
a pointer to a Value, rather than the Value directly. This improves the effectiveness of garbage collection a lot: if the Value is stored inside the set directly, then any live pointer to the Value causes all other attributes in the set to be live as well. | |||||
2010-10-22 | * Make building against the Boehm GC a configure option. | Eelco Dolstra | 1 | -3/+2 | |
2010-10-20 | * Use the Boehm garbage collector to reclaim unused memory in the Nix | Eelco Dolstra | 1 | -2/+4 | |
expression evaluator. | |||||
2010-10-04 | * Sync with the trunk. | Eelco Dolstra | 1 | -1/+0 | |
2010-09-14 | * Doh. Remove debug message. | Eelco Dolstra | 1 | -1/+0 | |
2010-08-04 | * Sync with the trunk. | Eelco Dolstra | 1 | -7/+13 | |
2010-08-04 | * Set the default system filter to "*". This ensures that (for | Eelco Dolstra | 1 | -7/+13 | |
instance) "nix-env -i wine" works on x86_64-linux, even though Wine is built on i686-linux. In the event that there are multiple matching derivations, prefer those built for the current system. | |||||
2010-06-21 | * Sync with the trunk. | Eelco Dolstra | 1 | -2/+0 | |
2010-05-30 | * Remove an accidentally committed debug statement. | Eelco Dolstra | 1 | -2/+0 | |
2010-05-12 | * Sync with the trunk. | Eelco Dolstra | 6 | -200/+340 | |
2010-05-07 | * Keep track of the source positions of attributes. | Eelco Dolstra | 1 | -10/+10 | |
2010-05-06 | * Store attribute positions in the AST and report duplicate attribute | Eelco Dolstra | 1 | -2/+3 | |
errors with position info. * For all positions, use the position of the first character of the first token, rather than the last character of the first token plus one. | |||||
2010-04-27 | (no commit message) | Eelco Dolstra | 1 | -1/+1 | |
2010-04-21 | * Store user environment manifests as a Nix expression in | Eelco Dolstra | 5 | -142/+166 | |
$out/manifest.nix rather than as an ATerm. (Hm, I thought I committed this two days ago...) | |||||
2010-04-19 | * Drop the dependency on the ATerm library. | Eelco Dolstra | 1 | -2/+2 | |
2010-04-19 | * Don't use the ATerm library for parsing/printing .drv files. | Eelco Dolstra | 1 | -41/+0 | |
2010-04-19 | * Added parsing of manifests in ATerm format. | Eelco Dolstra | 1 | -7/+150 | |
2010-04-19 | * Refactoring: move the user environment stuff into its own module. | Eelco Dolstra | 4 | -20/+47 | |
2010-04-16 | * _combineChannels shouldn't be an integer. | Eelco Dolstra | 1 | -1/+1 | |
2010-04-16 | * In an nested `with' where the inner with is a variable (`with ...; | Eelco Dolstra | 1 | -0/+1 | |
with someVar; ...'), the contents of the variable would be clobbered. (The attributes in the outer `with' were added to the variable.) | |||||
2010-04-14 | * Get nix-env to compile again. | Eelco Dolstra | 1 | -29/+14 | |
2010-04-12 | * Don't use ATerms for the abstract syntax trees anymore. Not | Eelco Dolstra | 1 | -3/+2 | |
finished yet. | |||||
2010-04-07 | * Update autoCallFunction() and findAlongAttrPath(). | Eelco Dolstra | 1 | -13/+9 | |
2010-03-31 | * Get nix-env to compile. | Eelco Dolstra | 1 | -12/+19 | |
2010-03-02 | * When using the included sqlite/aterm libraries, build with | Eelco Dolstra | 2 | -2/+4 | |
--enable-shared. * In libutil/libstore/libexpr etc., link against sqlite and aterm. * Some more header file hygiene. | |||||
2010-02-24 | * `helpText' is now zero-terminated. | Eelco Dolstra | 1 | -1/+1 | |
2010-02-24 | * ADDITIONAL_NETWORK_LIBS -> LIBS. | Eelco Dolstra | 1 | -1/+1 | |
2010-02-24 | * Add ${sqlite_lib} everywhere. Just adding it in `libstore' doesn't | Eelco Dolstra | 1 | -1/+1 | |
work on x86_64 when sqlite is compiled statically. | |||||
2009-11-06 | * Remove support for old (before Nix 0.12pre12020) databases. | Eelco Dolstra | 1 | -2/+2 | |
2009-10-13 | * Give a useful error message when an evaluation error occurs while | Eelco Dolstra | 1 | -41/+48 | |
trying to upgrade a package. | |||||
2009-10-08 | Added optional parameter which adds -lnsl -lsocket to make the Nix package ↵ | Sander van der Burg | 1 | -1/+1 | |
manager work on OpenSolaris | |||||
2009-07-02 | * Replace newlines in table output with spaces. | Eelco Dolstra | 1 | -6/+7 | |
2009-06-30 | * Support integers and lists of strings in meta fields. This is | Eelco Dolstra | 1 | -28/+60 | |
useful for fields like meta.maintainers, meta.priority (which can be a proper integer now) and even meta.license (if there are multiple licenses). | |||||
2008-09-18 | * Fix `--from-profile'. | Eelco Dolstra | 1 | -3/+5 | |
2008-09-02 | * When writing the user environment manifest, filter out non-string | Eelco Dolstra | 1 | -7/+9 | |
attributes from the meta attribute. Not doing so caused nix-env to barf on the "psi" package, which has a meta.function attribute, the textual serialisation of which causes a gigantic string to be produced --- so big that it causes nix-env to run out of memory. Note however that "meta" really only should contain strings. meta.function should be passthru.function. | |||||
2008-08-25 | * Minor simplification. | Eelco Dolstra | 1 | -1/+1 | |
2008-08-25 | * Strip off the `.nix' suffix from the attribute name for files in | Eelco Dolstra | 1 | -3/+14 | |
~/.nix-defexpr, otherwise the attribute cannot be selected with the `-A' option. Useful if you want to stick a Nix expression directly in ~/.nix-defexpr. | |||||
2008-08-04 | * Use optimistic profile locking for nix-env operations like `-i' and | Eelco Dolstra | 1 | -138/+163 | |
`-u'. Instead of acquiring an exclusive lock on the profile for the entire duration of the operation, we just perform the operation optimistically (without an exclusive lock), and check at the end whether the profile changed while we were busy (i.e., the symlink target changed). If so, the operation is restarted. Restarting is generally cheap, since the build results are still in the Nix store. Most of the time, only the user environment has to be rebuilt. | |||||
2008-08-04 | * `nix-env --set': support --dry-run. | Eelco Dolstra | 1 | -3/+10 | |
2008-08-04 | * `nix-store --realise': print what paths will be built/downloaded, | Eelco Dolstra | 1 | -24/+3 | |
just like nix-env. * `nix-store --realise': --dry-run option. |