git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #140051 from pennae/extend-derivation

fix nested calls to extendDerivation

commit243a61e1831ff9c751ec770bd42e8a5ca744e0ea authorSilvan Mosberger <contact@infinisil.com> dateSat 2 Oct 2021, 17:03 (5 years ago) parent7ecc8579b3b8f7
1 file changed+2−1
lib/customisation.nix+2−1
lib/customisation.nix+2−1
@@ -145,7 +145,8 @@ rec {
145145 let
146146 outputs = drv.outputs or [ "out" ];
147147
148− commonAttrs = drv // (builtins.listToAttrs outputsList) //
148+ commonAttrs = (removeAttrs drv [ "outputUnspecified" ]) //
149+ (builtins.listToAttrs outputsList) //
149150 ({ all = map (x: x.value) outputsList; }) // passthru;
150151
151152 outputToAttrListElement = outputName: