Correcting src passthru in builderDefs

svn path=/nixpkgs/trunk/; revision=13628
This commit is contained in:
Michael Raskin 2008-12-14 10:40:03 +00:00
parent 5dbd5eac6d
commit 15cfe51b42

View file

@ -410,7 +410,8 @@ args: with args; with stringsWithDeps; with lib;
inherit (localDefs) name;
builder = writeScript (name + "-builder")
(textClosure localDefs localDefs.realPhaseNames);
meta = localDefs.meta // {inherit src;};
meta = localDefs.meta;
passthru = localDefs.passthru // {inherit (localDefs) src; };
}) // (if localDefs ? propagatedBuildInputs then {
inherit (localDefs) propagatedBuildInputs;
} else {}) // extraDerivationAttrs)