generateOptparseApplicativeCompletions
pkgs.haskell.lib.generateOptparseApplicativeCompletions
Docs pulled from | This Revision | about 1 hour ago
Retained for backwards compatibility. Use haskell.packages.*.generateOptparseApplicativeCompletions which is cross aware instead.
Noogle detected
Implementation
The following is the current implementation of this function.
generateOptparseApplicativeCompletions =
commands: pkg:
lib.warnIf (lib.oldestSupportedReleaseIsAtLeast 2211)
"haskellLib.generateOptparseApplicativeCompletions is deprecated in favor of haskellPackages.generateOptparseApplicativeCompletions. Please change ${pkg.name} to use the latter and make sure it uses its matching haskell.packages set!"
(pkgs.lib.foldr __generateOptparseApplicativeCompletion pkg commands);