haskellPackages.guardian: fix build by joining cabal-install overlay
The package depends on cabal-install and Cabal which need later versions of a few packages than we have in our default package set.
This commit is contained in:
parent
da5233bbc0
commit
9d78495066
@ -41,9 +41,25 @@ self: super: {
|
||||
{
|
||||
cabal-install = super.cabal-install.overrideScope cabalInstallOverlay;
|
||||
cabal-install-solver = super.cabal-install-solver.overrideScope cabalInstallOverlay;
|
||||
|
||||
guardian = lib.pipe
|
||||
# Needs cabal-install >= 3.8 /as well as/ matching Cabal
|
||||
(super.guardian.overrideScope (self: super:
|
||||
cabalInstallOverlay self super // {
|
||||
# Needs at least path-io 1.8.0 due to canonicalizePath changes
|
||||
path-io = self.path-io_1_8_0;
|
||||
}
|
||||
))
|
||||
[
|
||||
# Tests need internet access (run stack)
|
||||
dontCheck
|
||||
# May as well…
|
||||
(self.generateOptparseApplicativeCompletions [ "guardian" ])
|
||||
];
|
||||
}
|
||||
) cabal-install
|
||||
cabal-install-solver
|
||||
guardian
|
||||
;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user