From 6b1c5afe8bea3826ebe744b141b10cc1e79cf1f7 Mon Sep 17 00:00:00 2001 From: Andrew Childs Date: Mon, 4 Apr 2022 16:29:52 +0900 Subject: [PATCH] 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. --- pkgs/development/lua-modules/overrides.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/development/lua-modules/overrides.nix b/pkgs/development/lua-modules/overrides.nix index 7f85ddb783a5f..656695d691094 100644 --- a/pkgs/development/lua-modules/overrides.nix +++ b/pkgs/development/lua-modules/overrides.nix @@ -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: {