luaPackages.libluv: fix darwin build
libluv was recently converted to a pure cmake package and now there's nothing lua related in the build. However an old workaround to force linking against lua on darwin remains. Clean this up.
This commit is contained in:
parent
974ce2dffa
commit
c8151fe657
@ -296,9 +296,6 @@ with prev;
|
||||
buildInputs = [ pkgs.libuv ];
|
||||
|
||||
nativeBuildInputs = [ pkgs.pkg-config pkgs.fixDarwinDylibNames pkgs.cmake ];
|
||||
# Fixup linking libluv.dylib, for some reason it's not linked against lua correctly.
|
||||
NIX_LDFLAGS = pkgs.lib.optionalString pkgs.stdenv.isDarwin
|
||||
(if isLuaJIT then "-lluajit-${lua.luaversion}" else "-llua");
|
||||
};
|
||||
|
||||
luv = prev.lib.overrideLuarocks prev.luv (drv: {
|
||||
|
Loading…
Reference in New Issue
Block a user