Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

clucene-core: make darwin-related patch conditional

This relates to pull request #6137, and was made at request of the
submitter.

+1 -2
+1 -2
pkgs/development/libraries/clucene-core/2.x.nix
··· 18 18 [ ./Fix-pkgconfig-file-by-adding-clucene-shared-library.patch 19 19 ./Fixing_ZLIB_configuration_in_shared_CMakeLists.patch 20 20 ./Install-contribs-lib.patch 21 - ./fix-darwin.patch 22 - ]; 21 + ] ++ stdenv.lib.optionals stdenv.isDarwin [ ./fix-darwin.patch ]; 23 22 24 23 postInstall = stdenv.lib.optionalString stdenv.isDarwin '' 25 24 install_name_tool -change libclucene-shared.1.dylib \