diff options
author | Luke Adams <luke4450@gmail.com> | 2018-03-03 11:33:48 -0600 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-03-03 17:33:48 +0000 |
commit | 6e316ed6a337646842fa8e4a75f0d4b04dec7f56 (patch) | |
tree | 11bef42e4174e282b8925e48be371caefe11ad40 /pkgs/tools/system/collectd | |
parent | 691d18212bcd8d3eb1876dc76104945028b090fd (diff) | |
download | nixpkgs-6e316ed6a337646842fa8e4a75f0d4b04dec7f56.tar nixpkgs-6e316ed6a337646842fa8e4a75f0d4b04dec7f56.tar.gz nixpkgs-6e316ed6a337646842fa8e4a75f0d4b04dec7f56.tar.bz2 nixpkgs-6e316ed6a337646842fa8e4a75f0d4b04dec7f56.tar.lz nixpkgs-6e316ed6a337646842fa8e4a75f0d4b04dec7f56.tar.xz nixpkgs-6e316ed6a337646842fa8e4a75f0d4b04dec7f56.tar.zst nixpkgs-6e316ed6a337646842fa8e4a75f0d4b04dec7f56.zip |
collectd: kafka patch for 18.03 (#36257)
Diffstat (limited to 'pkgs/tools/system/collectd')
-rw-r--r-- | pkgs/tools/system/collectd/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/tools/system/collectd/default.nix b/pkgs/tools/system/collectd/default.nix index e9ce2913a6c..bb9fa2dd877 100644 --- a/pkgs/tools/system/collectd/default.nix +++ b/pkgs/tools/system/collectd/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, darwin +{ stdenv, fetchurl, fetchpatch, darwin # optional: , pkgconfig ? null # most of the extra deps need pkgconfig to be found , curl ? null @@ -65,6 +65,13 @@ stdenv.mkDerivation rec { 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" ]; # do not create directories in /var during installPhase |