binutils: extend meta.platforms to unix to fix #12606

Also refactor meta.
Maybe we could have platforms.all in there, but I leave it here.
wip/yesman
Vladimír Čunát 8 years ago
parent 310aadc48b
commit 1f2b819783
  1. 6
      pkgs/development/tools/misc/binutils/default.nix

@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = {
meta = with stdenv.lib; {
description = "Tools for manipulating binaries (linker, assembler, etc.)";
longDescription = ''
The GNU Binutils are a collection of binary tools. The main
@ -76,8 +76,8 @@ stdenv.mkDerivation rec {
`gprof', `nm', `strip', etc.
'';
homepage = http://www.gnu.org/software/binutils/;
license = stdenv.lib.licenses.gpl3Plus;
platforms = stdenv.lib.platforms.linux;
license = licenses.gpl3Plus;
platforms = platforms.unix;
/* Give binutils a lower priority than gcc-wrapper to prevent a
collision due to the ld/as wrappers/symlinks in the latter. */

Loading…
Cancel
Save