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.
This commit is contained in:
Malte Brandy
2020-06-22 21:16:54 +02:00
parent ffbf8ba912
commit bc8b615344
2 changed files with 9 additions and 4 deletions
@@ -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;
}