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.

+3 -3
+3 -3
pkgs/development/tools/misc/binutils/default.nix
··· 67 68 enableParallelBuilding = true; 69 70 - meta = { 71 description = "Tools for manipulating binaries (linker, assembler, etc.)"; 72 longDescription = '' 73 The GNU Binutils are a collection of binary tools. The main ··· 76 `gprof', `nm', `strip', etc. 77 ''; 78 homepage = http://www.gnu.org/software/binutils/; 79 - license = stdenv.lib.licenses.gpl3Plus; 80 - platforms = stdenv.lib.platforms.linux; 81 82 /* Give binutils a lower priority than gcc-wrapper to prevent a 83 collision due to the ld/as wrappers/symlinks in the latter. */
··· 67 68 enableParallelBuilding = true; 69 70 + meta = with stdenv.lib; { 71 description = "Tools for manipulating binaries (linker, assembler, etc.)"; 72 longDescription = '' 73 The GNU Binutils are a collection of binary tools. The main ··· 76 `gprof', `nm', `strip', etc. 77 ''; 78 homepage = http://www.gnu.org/software/binutils/; 79 + license = licenses.gpl3Plus; 80 + platforms = platforms.unix; 81 82 /* Give binutils a lower priority than gcc-wrapper to prevent a 83 collision due to the ld/as wrappers/symlinks in the latter. */