3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/doc
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
..
old Move some old docs 2013-10-01 10:53:21 +02:00
coding-conventions.xml * Package naming / versioning guidelines. 2009-11-18 15:05:09 +00:00
introduction.xml * Sync CSS with the Nix manual. 2012-05-11 21:42:00 +00:00
language-support.xml Rewrite the CPAN generator to Perl 2013-06-13 15:56:23 +02:00
Makefile
manual.xml Unify the Nixpkgs and NixOS version numbers 2013-10-10 13:28:22 +02:00
meta.xml Only show/build a package on the platforms listed in meta.platforms 2013-11-05 00:06:10 +01:00
outline.txt
package-notes.xml splashutils: Remove 2013-09-26 18:03:43 +02:00
quick-start.xml Fix broken links 2013-09-25 19:53:47 -04:00
quote-literals.xsl
release-notes.xml nixos.org/tarballs -> tarballs.nixos.org 2013-06-25 14:12:16 +02:00
stdenv.xml Fix a few typos 2013-08-11 10:55:53 +00:00
style.css * Sync CSS with the Nix manual. 2012-05-11 21:42:00 +00:00