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.
This commit is contained in:
parent
310aadc48b
commit
1f2b819783
@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Tools for manipulating binaries (linker, assembler, etc.)";
|
description = "Tools for manipulating binaries (linker, assembler, etc.)";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
The GNU Binutils are a collection of binary tools. The main
|
The GNU Binutils are a collection of binary tools. The main
|
||||||
@ -76,8 +76,8 @@ stdenv.mkDerivation rec {
|
|||||||
`gprof', `nm', `strip', etc.
|
`gprof', `nm', `strip', etc.
|
||||||
'';
|
'';
|
||||||
homepage = http://www.gnu.org/software/binutils/;
|
homepage = http://www.gnu.org/software/binutils/;
|
||||||
license = stdenv.lib.licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = platforms.unix;
|
||||||
|
|
||||||
/* Give binutils a lower priority than gcc-wrapper to prevent a
|
/* Give binutils a lower priority than gcc-wrapper to prevent a
|
||||||
collision due to the ld/as wrappers/symlinks in the latter. */
|
collision due to the ld/as wrappers/symlinks in the latter. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user