mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
Merge pull request #18421 from andrewrmiller/master
weechat: help weechat find nix's python on darwin
This commit is contained in:
commit
7a5f7dc6a2
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = with stdenv.lib; []
|
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 (!guileSupport) "-DENABLE_GUILE=OFF"
|
||||||
++ optional (!luaSupport) "-DENABLE_LUA=OFF"
|
++ optional (!luaSupport) "-DENABLE_LUA=OFF"
|
||||||
++ optional (!perlSupport) "-DENABLE_PERL=OFF"
|
++ optional (!perlSupport) "-DENABLE_PERL=OFF"
|
||||||
|
Loading…
Reference in New Issue
Block a user