summary refs log tree commit diff
path: root/pkgs/build-support/gcc-wrapper
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-03-25 18:34:27 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-03-25 18:34:27 +0000
commite032d406141fadc6a881d4dadd8863f7d0250ac7 (patch)
treedaab3bb68e9e55a72ad50bff8294f43ac9983655 /pkgs/build-support/gcc-wrapper
parent50e59f22c19dea80e9684b26bafb0cc102ed65fb (diff)
downloadnixlib-e032d406141fadc6a881d4dadd8863f7d0250ac7.tar
nixlib-e032d406141fadc6a881d4dadd8863f7d0250ac7.tar.gz
nixlib-e032d406141fadc6a881d4dadd8863f7d0250ac7.tar.bz2
nixlib-e032d406141fadc6a881d4dadd8863f7d0250ac7.tar.lz
nixlib-e032d406141fadc6a881d4dadd8863f7d0250ac7.tar.xz
nixlib-e032d406141fadc6a881d4dadd8863f7d0250ac7.tar.zst
nixlib-e032d406141fadc6a881d4dadd8863f7d0250ac7.zip
* Some meta.description attributes.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14712
Diffstat (limited to 'pkgs/build-support/gcc-wrapper')
-rw-r--r--pkgs/build-support/gcc-wrapper/default.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/build-support/gcc-wrapper/default.nix b/pkgs/build-support/gcc-wrapper/default.nix
index a87e39b56374..5d15796d4be3 100644
--- a/pkgs/build-support/gcc-wrapper/default.nix
+++ b/pkgs/build-support/gcc-wrapper/default.nix
@@ -34,9 +34,14 @@ stdenv.mkDerivation {
   langFortran = if nativeTools then false else gcc ? langFortran;
   shell = if shell == "" then stdenv.shell else shell;
   
-  meta = if gcc != null && (gcc ? meta) then removeAttrs gcc.meta ["priority"] else
-    { description = "System C compiler wrapper";
-    };
+  meta =
+    if gcc != null && (gcc ? meta) then
+      removeAttrs gcc.meta ["priority"] //
+      { description = gcc.meta.description + " (wrapper script)";
+      }
+    else
+      { description = "System C compiler (wrapper script)";
+      };
 
   # The dynamic linker has different names on different Linux platforms.
   dynamicLinker =