Merge pull request #292934 from adisbladis/lib-choosedevoutput

lib.chooseDevOutputs: Remove needless function wrapping
This commit is contained in:
Silvan Mosberger 2024-03-06 19:39:30 +01:00 committed by GitHub
commit 0d49917ded
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1153,10 +1153,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.