- Sep 02, 2013
-
-
Eelco Dolstra authored
-
- Aug 26, 2013
-
-
Shea Levy authored
This reduces the difference between inherited and non-inherited attribute handling to the choice of which env to use (in recs and lets) by setting the AttrDef::e to a new ExprVar in the parser rather than carrying a separate AttrDef::v VarRef member. As an added bonus, this allows inherited attributes that inherit from a with to delay forcing evaluation of the with's attributes. Signed-off-by:
Shea Levy <shea@shealevy.com>
-
Ivan Kozik authored
-
- Aug 02, 2013
-
-
Eelco Dolstra authored
E.g. ‘"foo" < "bar"’ now works.
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
This allows saying "-1" instead of "builtins.sub 0 1".
-
Eelco Dolstra authored
-
- Jul 31, 2013
-
-
Eelco Dolstra authored
-
Shea Levy authored
Evaluation of attribute sets is strict in the attribute names, which means immediate evaluation of `with` attribute sets rules out some potentially interesting use cases (e.g. where the attribute names of one set depend in some way on another but we want to bring those names into scope for some values in the second set). The major example of this is overridable self-referential package sets (e.g. all-packages.nix). With immediate `with` evaluation, the only options for such sets are to either make them non-recursive and explicitly use the name of the overridden set in non-overridden one every time you want to reference another package, or make the set recursive and use the `__overrides` hack. As shown in the test case that comes with this commit, though, delayed `with` evaluation allows a nicer third alternative. Signed-off-by:
Shea Levy <shea@shealevy.com>
-
- Jul 01, 2013
-
-
Eelco Dolstra authored
Issue NixOS/hydra#102.
-
- Jun 20, 2013
-
-
Eelco Dolstra authored
For instance, it's pointless to keep copy-from-other-stores running if there are no other stores, or download-using-manifests if there are no manifests. This also speeds things up because we don't send queries to those substituters.
-
- Apr 23, 2013
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Mar 08, 2013
-
-
Eelco Dolstra authored
This reverts commit 28bba8c4.
-
- Mar 07, 2013
-
-
Eelco Dolstra authored
-
- Feb 08, 2013
-
-
Eelco Dolstra authored
-
Marc Weber authored
adding primop function calculating hash of a string Signed-off-by:
Marc Weber <marco-oweber@gmx.de>
-
- Jan 21, 2013
-
-
Eelco Dolstra authored
-
- Jan 02, 2013
-
-
Eelco Dolstra authored
Issue #77.
-
Eelco Dolstra authored
Issue #77.
- Dec 04, 2012
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Dec 03, 2012
-
-
Eelco Dolstra authored
-
- Nov 26, 2012
-
-
Eelco Dolstra authored
-
- Oct 03, 2012
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
Eelco Dolstra authored
AFAIK nobody uses this, setuid binaries are evil, and there is no good reason why people can't just run the daemon.
-
- Sep 27, 2012
-
-
Eelco Dolstra authored
In Nixpkgs, the attribute in all-packages.nix corresponding to a package is usually equal to the package name. However, this doesn't work if the package contains a dash, which is fairly common. The convention is to replace the dash with an underscore (e.g. "dbus-lib" becomes "dbus_glib"), but that's annoying. So now dashes are valid in variable / attribute names, allowing you to write: dbus-glib = callPackage ../development/libraries/dbus-glib { }; and buildInputs = [ dbus-glib ]; Since we don't have a negation or subtraction operation in Nix, this is unambiguous.
-
- Sep 14, 2012
-
- Sep 13, 2012
-
-
Eelco Dolstra authored
-
- Sep 12, 2012
-
-
Eelco Dolstra authored
If the options gc-keep-outputs and gc-keep-derivations are both enabled, you can get a cycle in the liveness graph. There was a hack to handle this, but it didn't work with multiple-output derivations, causing the garbage collector to fail with errors like ‘error: cannot delete path `...' because it is in use by `...'’. The garbage collector now handles strongly connected components in the liveness graph as a unit and decides whether to delete all or none of the paths in an SCC.
-
Eelco Dolstra authored
Apparently our DBD::SQLite links against /usr/lib/libsqlite3.dylib, which is an old version that doesn't respect foreign key constraints. So manifests/cache.sqlite doesn't get updated properly when a manifest disappears. We should fix our DBD::SQLite, but in the meantime this will fix the test. http://hydra.nixos.org/build/3017959
-
- Sep 11, 2012
-
-
Eelco Dolstra authored
-
Eelco Dolstra authored
-
- Jul 30, 2012
-
-
Eelco Dolstra authored
-
- Jul 27, 2012
-
-
Eelco Dolstra authored
Querying all substitutable paths via "nix-env -qas" is potentially hard on a server, since it involves sending thousands of HEAD requests. So a binary cache must now have a meta-info file named "nix-cache-info" that specifies whether the server wants this. It also specifies the store prefix so that we don't send useless queries to a binary cache for a different store prefix.
-