diff options
author | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-02-26 00:30:22 +0100 |
---|---|---|
committer | sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> | 2021-02-26 00:30:22 +0100 |
commit | 77fe5ae244044424c6eeb8a8441ca24d046487d7 (patch) | |
tree | c52002615a63ca1766150a703af95e7fccb165a9 /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 474dbcb767a3e62cbfded428b294e99c9da96de9 (diff) | |
download | nixpkgs-77fe5ae244044424c6eeb8a8441ca24d046487d7.tar nixpkgs-77fe5ae244044424c6eeb8a8441ca24d046487d7.tar.gz nixpkgs-77fe5ae244044424c6eeb8a8441ca24d046487d7.tar.bz2 nixpkgs-77fe5ae244044424c6eeb8a8441ca24d046487d7.tar.lz nixpkgs-77fe5ae244044424c6eeb8a8441ca24d046487d7.tar.xz nixpkgs-77fe5ae244044424c6eeb8a8441ca24d046487d7.tar.zst nixpkgs-77fe5ae244044424c6eeb8a8441ca24d046487d7.zip |
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.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 8ab7e06af2e..433060b4405 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -212,12 +212,8 @@ self: super: { # base bound digit = doJailbreak super.digit; - # 2020-06-05: HACK: does not pass own build suite - `dontCheck` We should - # generate optparse-applicative completions for the hnix executable. Sadly - # 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; + # 2020-06-05: HACK: does not pass own build suite - `dontCheck` + hnix = generateOptparseApplicativeCompletion "hnix" (dontCheck super.hnix); # https://github.com/haskell-nix/hnix-store/issues/127 hnix-store-core = addTestToolDepend super.hnix-store-core self.tasty-discover; |