* stdenv: new attribute is64bit.
* stdenv: for convience, provide the library functions in pkgs/lib/default.nix through the lib attribute. svn path=/nixpkgs/trunk/; revision=8740
This commit is contained in:
parent
2a804eb95b
commit
cbc8eee7ac
|
@ -60,12 +60,17 @@ let {
|
|||
isi686 = result.system == "i686-linux"
|
||||
|| result.system == "i686-darwin"
|
||||
|| result.system == "i686-freebsd";
|
||||
is64bit = result.system == "x86_64-linux";
|
||||
|
||||
# Utility function: allow stdenv to be easily regenerated with
|
||||
# a different setup script. (See all-packages.nix for an
|
||||
# example.)
|
||||
regenerate = stdenvGenerator;
|
||||
|
||||
# For convenience, bring in the library functions in lib/ so
|
||||
# packages don't have to do that themselves.
|
||||
lib = import ../../lib;
|
||||
|
||||
}
|
||||
|
||||
# Propagate any extra attributes. For instance, we use this to
|
||||
|
|
Loading…
Reference in a new issue