hs-mesos: fix build
mesos was propagating the wrong protobuf version, and the cabal file referenced some impure paths.
This commit is contained in:
@@ -199,6 +199,12 @@ self: super: {
|
||||
# https://github.com/mvoidex/hsdev/issues/11
|
||||
hsdev = dontHaddock super.hsdev;
|
||||
|
||||
hs-mesos = overrideCabal super.hs-mesos (drv: {
|
||||
# Pass _only_ mesos; the correct protobuf is propagated.
|
||||
extraLibraries = [ pkgs.mesos ];
|
||||
preConfigure = "sed -i -e /extra-lib-dirs/d -e 's|, /usr/include, /usr/local/include/mesos||' hs-mesos.cabal";
|
||||
});
|
||||
|
||||
# Upstream notified by e-mail.
|
||||
permutation = dontCheck super.permutation;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user