Skip to content

Commit

Permalink
Merge pull request #117023 from maralorn/niv
Browse files Browse the repository at this point in the history
haskellPackages.niv: Try to fix build
  • Loading branch information
maralorn committed Mar 20, 2021
2 parents b9bb86d + b37db39 commit 6f54d97
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/haskell-modules/configuration-common.nix
Expand Up @@ -946,7 +946,10 @@ self: super: {

# Generate shell completion.
cabal2nix = generateOptparseApplicativeCompletion "cabal2nix" super.cabal2nix;
niv = generateOptparseApplicativeCompletion "niv" super.niv;
niv = generateOptparseApplicativeCompletion "niv" (super.niv.overrideScope (self: super: {
# Needs override because of: https://github.com/nmattia/niv/issues/312
optparse-applicative = self.optparse-applicative_0_15_1_0;
}));
ormolu = generateOptparseApplicativeCompletion "ormolu" super.ormolu;
stack = generateOptparseApplicativeCompletion "stack" super.stack;

Expand Down
Expand Up @@ -2753,6 +2753,7 @@ extra-packages:
- haskell-lsp == 0.23.0.0 # required by hls-plugin-api 0.7.0.0, 2021-02-08
- haskell-lsp-types == 0.23.0.0 # required by hls-plugin-api 0.7.0.0, 2021-02-08
- lsp-test == 0.11.0.7 # required by hls-plugin-api 0.7.0.0, 2021-02-08
- optparse-applicative < 0.16 # needed for niv-0.2.19

package-maintainers:
peti:
Expand Down
19 changes: 19 additions & 0 deletions pkgs/development/haskell-modules/hackage-packages.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6f54d97

Please sign in to comment.