* Handle the attributes added by the multiple outputs branch.
svn path=/nixpkgs/trunk/; revision=31278
This commit is contained in:
parent
0348f11e22
commit
7fcf771c2a
@ -34,7 +34,7 @@ rec {
|
|||||||
overrideDerivation = drv: f:
|
overrideDerivation = drv: f:
|
||||||
let
|
let
|
||||||
# Filter out special attributes.
|
# Filter out special attributes.
|
||||||
drop = ["meta" "passthru" "outPath" "drvPath" "hostDrv" "buildDrv" "type" "override" "deepOverride" "origArgs"]
|
drop = [ "meta" "passthru" "outPath" "drvPath" "hostDrv" "buildDrv" "type" "override" "deepOverride" "origArgs" "drvAttrs" "outputName" "all" "out" ]
|
||||||
# also drop functions such as .merge .override etc
|
# also drop functions such as .merge .override etc
|
||||||
++ lib.filter (n: isFunction (getAttr n drv)) (attrNames drv);
|
++ lib.filter (n: isFunction (getAttr n drv)) (attrNames drv);
|
||||||
attrs = removeAttrs drv drop;
|
attrs = removeAttrs drv drop;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user