mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
hs-mesos: fix build
mesos was propagating the wrong protobuf version, and the cabal file referenced some impure paths.
This commit is contained in:
parent
4b2b30ea24
commit
7e94f79433
@ -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;
|
||||
|
||||
|
@ -4449,7 +4449,7 @@ let
|
||||
mesos = callPackage ../applications/networking/cluster/mesos {
|
||||
sasl = cyrus_sasl;
|
||||
inherit (pythonPackages) python boto setuptools distutils-cfg wrapPython;
|
||||
pythonProtobuf = pythonPackages.protobuf;
|
||||
pythonProtobuf = pythonPackages.protobuf2_5;
|
||||
};
|
||||
|
||||
mesos-dns = callPackage ../servers/dns/mesos-dns { };
|
||||
|
Loading…
Reference in New Issue
Block a user