about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorBen Smith <polynomial@gmail.com>2015-04-26 19:58:12 -0700
committerBen Smith <polynomial@gmail.com>2015-04-26 19:58:12 -0700
commitc9e337196a03ea7147e09907f1187410e14bddd3 (patch)
treebb1e3c6a61620b78eecc1abb5998f761f99f30e5 /pkgs
parentde808ae79fcdabe461ab220626b3a2dbd2e0b050 (diff)
downloadnixlib-c9e337196a03ea7147e09907f1187410e14bddd3.tar
nixlib-c9e337196a03ea7147e09907f1187410e14bddd3.tar.gz
nixlib-c9e337196a03ea7147e09907f1187410e14bddd3.tar.bz2
nixlib-c9e337196a03ea7147e09907f1187410e14bddd3.tar.lz
nixlib-c9e337196a03ea7147e09907f1187410e14bddd3.tar.xz
nixlib-c9e337196a03ea7147e09907f1187410e14bddd3.tar.zst
nixlib-c9e337196a03ea7147e09907f1187410e14bddd3.zip
Issue #7584 Kafka Log Directory Not Writeable
Fix quotes in substitution so LOG_DIR is set to a writeable location
Diffstat (limited to 'pkgs')
-rwxr-xr-xpkgs/servers/apache-kafka/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/apache-kafka/default.nix b/pkgs/servers/apache-kafka/default.nix
index f3d0a43c4cff..06f8c5130633 100755
--- a/pkgs/servers/apache-kafka/default.nix
+++ b/pkgs/servers/apache-kafka/default.nix
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
 
     # allow us the specify logging directory using env
     substituteInPlace $out/bin/kafka-run-class.sh \
-      --replace 'LOG_DIR=$base_dir/logs' 'LOG_DIR=$KAFKA_LOG_DIR'
+      --replace 'LOG_DIR="$base_dir/logs"' 'LOG_DIR="$KAFKA_LOG_DIR"'
 
     for p in $out/bin\/*.sh; do
       wrapProgram $p \