Merge pull request #140051 from pennae/extend-derivation

fix nested calls to extendDerivation
This commit is contained in:
Silvan Mosberger 2021-10-02 17:03:24 +02:00 committed by GitHub
commit 243a61e183
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,7 +145,8 @@ rec {
let
outputs = drv.outputs or [ "out" ];
commonAttrs = drv // (builtins.listToAttrs outputsList) //
commonAttrs = (removeAttrs drv [ "outputUnspecified" ]) //
(builtins.listToAttrs outputsList) //
({ all = map (x: x.value) outputsList; }) // passthru;
outputToAttrListElement = outputName: