mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
lua-sockets: fix on darwin
This commit is contained in:
parent
44dc13aad6
commit
b8ed622bbb
@ -192,6 +192,11 @@ let
|
||||
patchPhase = ''
|
||||
sed -e "s,^LUAPREFIX_linux.*,LUAPREFIX_linux=$out," \
|
||||
-i src/makefile
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
export PLAT=macosx
|
||||
export LUAPREFIX_macosx=$out
|
||||
substituteInPlace src/Makefile --replace gcc cc \
|
||||
--replace 10.3 10.5
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user