collectd: kafka patch for 18.03 (#36257)
This commit is contained in:
parent
691d18212b
commit
6e316ed6a3
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, darwin
|
{ stdenv, fetchurl, fetchpatch, darwin
|
||||||
# optional:
|
# optional:
|
||||||
, pkgconfig ? null # most of the extra deps need pkgconfig to be found
|
, pkgconfig ? null # most of the extra deps need pkgconfig to be found
|
||||||
, curl ? null
|
, curl ? null
|
||||||
@ -65,6 +65,13 @@ stdenv.mkDerivation rec {
|
|||||||
darwin.apple_sdk.frameworks.ApplicationServices
|
darwin.apple_sdk.frameworks.ApplicationServices
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Patch fixes broken build on 18.03
|
||||||
|
# Should be included in the next release of this package
|
||||||
|
patches = fetchpatch {
|
||||||
|
name = "collectd_kafka_fix";
|
||||||
|
url = "https://github.com/collectd/collectd/commit/6c2eb3ad28f08f7e774b6eaea5ae01b0857cf884.patch";
|
||||||
|
sha256 = "14wsyj5xghij9lz7c61bzdyh45zg8pv5xn490cvbqiaci948zzv6";
|
||||||
|
};
|
||||||
configureFlags = [ "--localstatedir=/var" ];
|
configureFlags = [ "--localstatedir=/var" ];
|
||||||
|
|
||||||
# do not create directories in /var during installPhase
|
# do not create directories in /var during installPhase
|
||||||
|
Loading…
Reference in New Issue
Block a user