diff options
author | Malte Brandy <malte.brandy@maralorn.de> | 2020-06-21 21:23:47 +0200 |
---|---|---|
committer | Malte Brandy <malte.brandy@maralorn.de> | 2020-06-22 21:16:54 +0200 |
commit | bc8b615344c6ca7746a527058ffc1f0726aff897 (patch) | |
tree | a2911ccdcaa5eee9a4680cbc1113e2f8642e56e2 /pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix | |
parent | ffbf8ba912e21b5fc5e139d23fd15bb273800030 (diff) |
hackagePackages.hnix: Fix build
hnix 0.9.0 does not provide an executable for ghc <8.10 anymore. So we need to disable optparse-applicative completion generation for all other versions.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index 7348dd9f22e96..cdc3663356388 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -132,4 +132,7 @@ self: super: { excludes = ["package.yaml"]; }); + # hnix 0.9.0 does not provide an executable for ghc < 8.10, so define completions here for now. + hnix = generateOptparseApplicativeCompletion "hnix" super.hnix; + } |