about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2015-02-04 01:40:17 -0600
committerJohn Wiegley <johnw@newartisans.com>2015-02-04 01:40:17 -0600
commitad60eaedf1d761f1a83b773f0bc2dd985f5f404d (patch)
tree174aa4b19b15ea264f924b51f2bb0b6fae77f656
parent33ecb3438f517634aad913ef394e9103eb36dd61 (diff)
downloadnixlib-ad60eaedf1d761f1a83b773f0bc2dd985f5f404d.tar
nixlib-ad60eaedf1d761f1a83b773f0bc2dd985f5f404d.tar.gz
nixlib-ad60eaedf1d761f1a83b773f0bc2dd985f5f404d.tar.bz2
nixlib-ad60eaedf1d761f1a83b773f0bc2dd985f5f404d.tar.lz
nixlib-ad60eaedf1d761f1a83b773f0bc2dd985f5f404d.tar.xz
nixlib-ad60eaedf1d761f1a83b773f0bc2dd985f5f404d.tar.zst
nixlib-ad60eaedf1d761f1a83b773f0bc2dd985f5f404d.zip
clucene-core: make darwin-related patch conditional
This relates to pull request #6137, and was made at request of the
submitter.
-rw-r--r--pkgs/development/libraries/clucene-core/2.x.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/libraries/clucene-core/2.x.nix b/pkgs/development/libraries/clucene-core/2.x.nix
index e348142f1d8c..90ee1cd03ca4 100644
--- a/pkgs/development/libraries/clucene-core/2.x.nix
+++ b/pkgs/development/libraries/clucene-core/2.x.nix
@@ -18,8 +18,7 @@ stdenv.mkDerivation rec {
     [ ./Fix-pkgconfig-file-by-adding-clucene-shared-library.patch
       ./Fixing_ZLIB_configuration_in_shared_CMakeLists.patch
       ./Install-contribs-lib.patch
-      ./fix-darwin.patch
-    ];
+    ] ++ stdenv.lib.optionals stdenv.isDarwin [ ./fix-darwin.patch ];
 
   postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
     install_name_tool -change libclucene-shared.1.dylib \