1
1
mirror of https://github.com/nmattia/niv.git synced 2024-10-06 12:27:35 +03:00

Use recommended optparse applicative function (#371)

Before this, the build issued a warning suggesting to use
`haskellPackages.generateOptparseApplicativeCompletions`.
This commit is contained in:
Nicolas Mattia 2023-05-24 10:41:41 +02:00 committed by GitHub
parent 7225521219
commit c0f68a09d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ let
pkgs.haskell.lib.failOnAllWarnings (
pkgs.haskell.lib.disableExecutableProfiling (
pkgs.haskell.lib.disableLibraryProfiling (
pkgs.haskell.lib.generateOptparseApplicativeCompletion "niv" (
pkgs.haskellPackages.generateOptparseApplicativeCompletions [ "niv" ] (
(pkgs.callPackage ./foo { haskellPackages = self; }).buildPackage { root = ./.; src = niv-source; }
)
)