Merge pull request #91251 from maralorn/fix-hnix

[haskell-updates] hackagePackages.hnix: Disable completion to fix build
This commit is contained in:
Dennis Gosnell 2020-06-23 09:58:47 +09:00 committed by GitHub
commit a0fe5228eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -219,10 +219,12 @@ self: super: {
# base bound
digit = doJailbreak super.digit;
# 2020-06-05: HACK: does not passes own build suite - `dontCheck`
hnix = generateOptparseApplicativeCompletion "hnix" (
dontCheck super.hnix
);
# 2020-06-05: HACK: does not passes 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;
# Fails for non-obvious reasons while attempting to use doctest.
search = dontCheck super.search;

View File

@ -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;
}