git.iko.soy/typeable/nixpkgs
on master help sign in
collectd: kafka patch for 18.03 (#36257)
commit6e316ed6a337646842fa8e4a75f0d4b04dec7f56 authorLuke Adams <luke4450@gmail.com> dateSat 3 Mar 2018, 11:33 (9 years ago) parent691d182
1 file changed+8−1
pkgs/tools/system/collectd/default.nix+8−1
pkgs/tools/system/collectd/default.nix+8−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, darwin
1+{ stdenv, fetchurl, fetchpatch, darwin
22# optional:
33, pkgconfig ? null # most of the extra deps need pkgconfig to be found
44, curl ? null
@@ -65,6 +65,13 @@ stdenv.mkDerivation rec {
6565 darwin.apple_sdk.frameworks.ApplicationServices
6666 ];
6767
68+ # Patch fixes broken build on 18.03
69+ # Should be included in the next release of this package
70+ patches = fetchpatch {
71+ name = "collectd_kafka_fix";
72+ url = "https://github.com/collectd/collectd/commit/6c2eb3ad28f08f7e774b6eaea5ae01b0857cf884.patch";
73+ sha256 = "14wsyj5xghij9lz7c61bzdyh45zg8pv5xn490cvbqiaci948zzv6";
74+ };
6875 configureFlags = [ "--localstatedir=/var" ];
6976
7077 # do not create directories in /var during installPhase