haskellPackages.hnix: fix build for ghc-8.10 by adding repline
This commit is contained in:
parent
aa66f3fd08
commit
2dab5712fb
@ -111,6 +111,10 @@ self: super: {
|
||||
});
|
||||
|
||||
# hnix 0.9.0 does not provide an executable for ghc < 8.10, so define completions here for now.
|
||||
hnix = generateOptparseApplicativeCompletion "hnix" super.hnix;
|
||||
hnix = generateOptparseApplicativeCompletion "hnix"
|
||||
(overrideCabal super.hnix (drv: {
|
||||
# executable is allowed for ghc >= 8.10 and needs repline
|
||||
executableHaskellDepends = drv.executableToolDepends or [] ++ [ self.repline ];
|
||||
}));
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user