mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
* Fix missing description errors.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15157
This commit is contained in:
parent
40f01daa81
commit
35e42d3e5c
@ -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…
Reference in New Issue
Block a user