lib.chooseDevOutputs: Remove needless function wrapping

Returning the partially applied `map getDev` is the same as `drvs: map getDev drvs`.
This commit is contained in:
adisbladis 2024-03-03 16:01:35 +13:00
parent 31f91738fb
commit 3ee9d185f3

@ -1138,10 +1138,7 @@ rec {
Type: chooseDevOutputs :: [Derivation] -> [String]
*/
chooseDevOutputs =
# List of packages to pick `dev` outputs from
drvs:
builtins.map getDev drvs;
chooseDevOutputs = builtins.map getDev;
/* Make various Nix tools consider the contents of the resulting
attribute set when looking for what to build, find, etc.