mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
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:
parent
ffbf8ba912
commit
bc8b615344
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user