1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-06 23:31:34 +00:00

haskellPackages.hnix: Fix build

Add override as explained in the comment
This commit is contained in:
Malte Brandy 2020-07-14 13:19:23 +02:00 committed by Peter Simons
parent f19f7e708e
commit 18121c65f3

View file

@ -202,12 +202,18 @@ self: super: {
# base bound
digit = doJailbreak super.digit;
# 2020-06-05: HACK: does not passes own build suite - `dontCheck` We should
# 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;
hnix = dontCheck (super.hnix.override {
# The neat-interpolation package from stack is to old for hnix.
# https://github.com/haskell-nix/hnix/issues/676
# Once neat-interpolation >= 0.4 is in our stack release,
# (which should happen soon), we can remove this override
neat-interpolation = self.neat-interpolation_0_5_1_1;
});
# Fails for non-obvious reasons while attempting to use doctest.
search = dontCheck super.search;