mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
luaPackages.luaexpat: fix build on darwin
This commit is contained in:
parent
1128726064
commit
61c48d9c45
|
@ -112,6 +112,11 @@ let
|
|||
|
||||
buildInputs = [ expat ];
|
||||
|
||||
preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Makefile \
|
||||
--replace '-shared' '-bundle -undefined dynamic_lookup -all_load'
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray=(
|
||||
LUA_LDIR="$out/share/lua/${lua.luaversion}"
|
||||
|
@ -121,7 +126,7 @@ let
|
|||
|
||||
meta = {
|
||||
homepage = "http://matthewwild.co.uk/projects/luaexpat";
|
||||
hydraPlatforms = stdenv.lib.platforms.linux;
|
||||
hydraPlatforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.flosse ];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue