nixpkgs/pkgs/system/all-packages.nix
Eelco Dolstra 946a2d4a48 * gcc-wrapper now filters out -L and -I flags referring to paths
outside the store (in pure builds).

svn path=/nixpkgs/trunk/; revision=817
2004-03-08 18:29:08 +00:00

18 lines
588 B
Nix

# This file evaluates to a function that, when supplied with a system
# identifier, returns the set of all packages provided by the Nix
# Package Collection. It does this by supplying
# `all-packages-generic.nix' with one of the standard build
# environments defined in `stdenvs.nix'.
{system}: let {
allPackages = import ./all-packages-generic.nix;
stdenvs = import ./stdenvs.nix {inherit system allPackages;};
# Select the right instantiation.
body =
if system == "i686-linux"
then stdenvs.stdenvNativePkgs #stdenvs.stdenvLinuxPkgs
else stdenvs.stdenvNixPkgs;
}