summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-01-25 11:16:23 +0100
committerVladimír Čunát <vcunat@gmail.com>2016-01-25 11:18:10 +0100
commit1f2b819783d00f876865aee20cb63c477331a901 (patch)
treebfdbe123c8511a9ed70fb92b91d2231b9c532885 /pkgs/development/tools
parent310aadc48b6771a0737e3c3b7f6a96120cf8e8f8 (diff)
downloadnixlib-1f2b819783d00f876865aee20cb63c477331a901.tar
nixlib-1f2b819783d00f876865aee20cb63c477331a901.tar.gz
nixlib-1f2b819783d00f876865aee20cb63c477331a901.tar.bz2
nixlib-1f2b819783d00f876865aee20cb63c477331a901.tar.lz
nixlib-1f2b819783d00f876865aee20cb63c477331a901.tar.xz
nixlib-1f2b819783d00f876865aee20cb63c477331a901.tar.zst
nixlib-1f2b819783d00f876865aee20cb63c477331a901.zip
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.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/misc/binutils/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/tools/misc/binutils/default.nix b/pkgs/development/tools/misc/binutils/default.nix
index 4cc4cadc280f..86d69d8da8ce 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. */