1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

* 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:
Eelco Dolstra 2007-05-24 13:32:18 +00:00
parent 2a804eb95b
commit cbc8eee7ac

View file

@ -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