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:
parent
1a2b47463b
commit
f999e9edf8
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue