* Fix missing description errors.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15157
wip/yesman
Eelco Dolstra 15 years ago
parent 40f01daa81
commit 35e42d3e5c
  1. 13
      pkgs/build-support/gcc-wrapper/default.nix
  2. 9
      pkgs/development/compilers/gcc-3.3/default.nix

@ -42,13 +42,12 @@ stdenv.mkDerivation {
shell = if shell == "" then stdenv.shell else shell;
meta =
if gcc != null && (gcc ? meta) then
removeAttrs gcc.meta ["priority"] //
{ description = gcc.meta.description + " (wrapper script)";
}
else
{ description = "System C compiler (wrapper script)";
};
let gcc_ = if gcc != null then gcc else {}; in
(if gcc_ ? meta then removeAttrs gcc.meta ["priority"] else {}) //
{ description =
stdenv.lib.getAttr ["meta" "description"] "System C compiler" gcc_
+ " (wrapper script)";
};
# The dynamic linker has different names on different Linux platforms.
dynamicLinker =

@ -8,10 +8,19 @@ assert langC;
stdenv.mkDerivation {
name = "gcc-3.3.6";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.gnu.org/gnu/gcc/gcc-3.3.6/gcc-3.3.6.tar.bz2;
md5 = "6936616a967da5a0b46f1e7424a06414";
};
inherit noSysDirs langC langCC langFortran;
meta = {
homepage = "http://gcc.gnu.org/";
license = "GPL/LGPL";
description = "GNU Compiler Collection, 3.3.x";
};
}

Loading…
Cancel
Save