mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
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 a new issue