1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

* Filter out the meta attribute.

svn path=/nixpkgs/trunk/; revision=5091
This commit is contained in:
Eelco Dolstra 2006-03-24 14:20:31 +00:00
parent 09a9cae715
commit bb28c87406
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ stdenv.mkDerivation {
langCC = if nativeTools then true else gcc.langCC;
langF77 = if nativeTools then false else gcc.langF77;
shell = if shell == "" then stdenv.shell else shell;
meta = if gcc != null then gcc.meta else
meta = if gcc != null && (gcc ? meta) then gcc.meta else
{ description = "System C compiler wrapper";
};
}
}

View file

@ -101,7 +101,7 @@ rec {
args = ./scripts/builder-stdenv-initial.sh;
inherit staticTools;
} // {
mkDerivation = attrs: derivation (attrs // {
mkDerivation = attrs: derivation ((removeAttrs attrs ["meta"]) // {
builder = ./tools/bash;
args = ["-e" attrs.builder];
stdenv = body;