nixpkgs/pkgs
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
..
applications Only show/build a package on the platforms listed in meta.platforms 2013-11-05 00:06:10 +01:00
build-support Updating SlimerJS to Git version for compatibility with fresh xulrunner 2013-10-31 02:59:45 +04:00
data
desktops Remove obsolete xfceutils attribute 2013-10-30 15:35:09 +01:00
development Mark more packages as broken 2013-11-04 21:11:00 +01:00
games Mark more packages as broken 2013-11-04 21:11:00 +01:00
misc Mark more packages as broken 2013-11-04 21:11:00 +01:00
os-specific Only show/build a package on the platforms listed in meta.platforms 2013-11-05 00:06:10 +01:00
servers Mark more packages as broken 2013-11-04 21:11:00 +01:00
shells
stdenv Only show/build a package on the platforms listed in meta.platforms 2013-11-05 00:06:10 +01:00
test
tools Mark more packages as broken 2013-11-04 21:11:00 +01:00
top-level Only show/build a package on the platforms listed in meta.platforms 2013-11-05 00:06:10 +01:00