Merge pull request #18421 from andrewrmiller/master

weechat: help weechat find nix's python on darwin
This commit is contained in:
Moritz Ulrich 2016-09-08 12:35:15 +02:00 committed by GitHub
commit 7a5f7dc6a2

View File

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
};
cmakeFlags = with stdenv.lib; []
++ optional stdenv.isDarwin "-DICONV_LIBRARY=${libiconv}/lib/libiconv.dylib"
++ optionals stdenv.isDarwin ["-DICONV_LIBRARY=${libiconv}/lib/libiconv.dylib" "-DCMAKE_FIND_FRAMEWORK=LAST"]
++ optional (!guileSupport) "-DENABLE_GUILE=OFF"
++ optional (!luaSupport) "-DENABLE_LUA=OFF"
++ optional (!perlSupport) "-DENABLE_PERL=OFF"