1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

weechat: help weechat find nix's python on darwin

This commit is contained in:
Andrew R. M 2016-09-06 19:59:16 -04:00
parent 1a2b47463b
commit f999e9edf8

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"