1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
nixpkgs/pkgs/stdenv
Eelco Dolstra a2cbc77e4f Only show/build a package on the platforms listed in meta.platforms
The function ‘mkDerivation’ now checks whether the current platform
type is included in a package's meta.platform field.  If not, it
throws an exception:

  $ nix-build -A linux --argstr system x86_64-darwin
  error: user-thrown exception: the package ‘linux-3.10.15’ is not supported on ‘x86_64-darwin’

These packages also no longer show up in ‘nix-env -qa’ output.  This
means, for instance, that the number of packages shown on
x86_64-freebsd has dropped from 9268 to 4764.

Since meta.platforms was also used to prevent Hydra from building some
packages, there now is a new attribute meta.hydraPlatforms listing the
platforms on which Hydra should build the package (which defaults to
meta.platforms).
2013-11-05 00:06:10 +01:00
..
generic Only show/build a package on the platforms listed in meta.platforms 2013-11-05 00:06:10 +01:00
linux nixos.org/tarballs -> tarballs.nixos.org 2013-06-25 14:12:16 +02:00
mingw stdenv/setup.sh: Always run postPatch hook. 2013-02-27 15:26:18 +01:00
native Pass ‘config’ to stdenv/generic/default.nix 2013-01-17 23:24:55 +01:00
nix Pass ‘config’ to stdenv/generic/default.nix 2013-01-17 23:24:55 +01:00
adapters.nix More renames 2012-12-28 19:42:10 +01:00
common-path.nix * Don't use the "replace-literal" command in stdenv; instead use 2012-01-19 13:47:26 +00:00
default.nix Pass ‘config’ to stdenv/generic/default.nix 2013-01-17 23:24:55 +01:00