summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorCharles Strahan <charles.c.strahan@gmail.com>2015-01-21 22:38:29 -0500
committerCharles Strahan <charles.c.strahan@gmail.com>2015-01-21 22:38:29 -0500
commit034488ec80bb5efd5e2945fed660a2e3003099f3 (patch)
tree87bb2115f0ae08d647ae1357deb846ed7fb2932e /pkgs/development/interpreters
parent8085f088cbd10d62e35870068873dc0e746e1830 (diff)
downloadnixpkgs-034488ec80bb5efd5e2945fed660a2e3003099f3.tar
nixpkgs-034488ec80bb5efd5e2945fed660a2e3003099f3.tar.gz
nixpkgs-034488ec80bb5efd5e2945fed660a2e3003099f3.tar.bz2
nixpkgs-034488ec80bb5efd5e2945fed660a2e3003099f3.tar.lz
nixpkgs-034488ec80bb5efd5e2945fed660a2e3003099f3.tar.xz
nixpkgs-034488ec80bb5efd5e2945fed660a2e3003099f3.tar.zst
nixpkgs-034488ec80bb5efd5e2945fed660a2e3003099f3.zip
ruby: fixup mpdcron
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix b/pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix
index 9b9bf5d85db..7b10cd152e5 100644
--- a/pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix
+++ b/pkgs/development/interpreters/ruby/bundler-env/default-gem-config.nix
@@ -63,8 +63,7 @@ in
       "--with-xslt-include=${libxslt}/include"
       "--with-exslt-lib=${libxslt}/lib"
       "--with-exslt-include=${libxslt}/include"
-      "--with-iconv-dir=${libiconv}"
-    ];
+    ] ++ lib.optional stdenv.isDarwin "--with-iconv-dir=${libiconv}";
   };
 
   pg = attrs: {