haskellPackages.hnix: generate completions again

As stated in the original comment, since we have moved to GHC 8.10.x,
the hnix binary builds again and we can generate completions for it.
This commit is contained in:
sternenseemann 2021-02-26 00:30:22 +01:00
parent 474dbcb767
commit 77fe5ae244

View File

@ -212,12 +212,8 @@ self: super: {
# base bound # base bound
digit = doJailbreak super.digit; digit = doJailbreak super.digit;
# 2020-06-05: HACK: does not pass own build suite - `dontCheck` We should # 2020-06-05: HACK: does not pass own build suite - `dontCheck`
# generate optparse-applicative completions for the hnix executable. Sadly hnix = generateOptparseApplicativeCompletion "hnix" (dontCheck super.hnix);
# building of the executable has been disabled for ghc < 8.10 in hnix.
# Generating the completions should be activated again, once we default to
# ghc 8.10.
hnix = dontCheck super.hnix;
# https://github.com/haskell-nix/hnix-store/issues/127 # https://github.com/haskell-nix/hnix-store/issues/127
hnix-store-core = addTestToolDepend super.hnix-store-core self.tasty-discover; hnix-store-core = addTestToolDepend super.hnix-store-core self.tasty-discover;