From 1f2b819783d00f876865aee20cb63c477331a901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 25 Jan 2016 11:16:23 +0100 Subject: [PATCH] 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. --- pkgs/development/tools/misc/binutils/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/binutils/default.nix b/pkgs/development/tools/misc/binutils/default.nix index 4cc4cadc280..86d69d8da8c 100644 --- a/pkgs/development/tools/misc/binutils/default.nix +++ b/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. */