From d83cfdc77ff4e5922632fa071cf3c22d1e0f3c71 Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Fri, 3 Nov 2017 13:04:47 +0000 Subject: [PATCH] kafkacat: fix sandboxed build --- pkgs/development/tools/kafkacat/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/tools/kafkacat/default.nix b/pkgs/development/tools/kafkacat/default.nix index 0d5c6e83c01e..3a1c4225bffb 100644 --- a/pkgs/development/tools/kafkacat/default.nix +++ b/pkgs/development/tools/kafkacat/default.nix @@ -16,6 +16,10 @@ stdenv.mkDerivation rec { buildInputs = [ zlib rdkafka yajl ]; + preConfigure = '' + patchShebangs ./configure + ''; + meta = with stdenv.lib; { description = "A generic non-JVM producer and consumer for Apache Kafka"; homepage = https://github.com/edenhill/kafkacat;