stdenv.mkDerivation: Use chooseDevOutputs

This commit is contained in:
Tuomas Tynkkynen
2016-01-24 00:18:38 +02:00
parent 3243c4f272
commit 5326e85f3d
2 changed files with 15 additions and 9 deletions

View File

@@ -454,6 +454,8 @@ rec {
getLib = getOutput "lib";
getDev = getOutput "dev";
/* Pick the outputs of packages to place in buildInputs */
chooseDevOutputs = drvs: builtins.map (drv: if drv.outputUnspecified or false then drv.dev or drv else drv) drvs;
/*** deprecated stuff ***/