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:
parent
7225521219
commit
c0f68a09d6
@ -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; }
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user