From ae892ab67575eb4bba9ac56aaa314ff0651a75cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Thu, 26 Jan 2017 20:28:00 +0100 Subject: [PATCH] luasec: attempt to fix build on Darwin --- pkgs/top-level/lua-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index 839db36ca7a4..cbecbadd9bae 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -167,7 +167,7 @@ let preBuild = '' makeFlagsArray=( - linux + ${stdenv.lib.optionalString stdenv.isLinux "linux"} LUAPATH="$out/lib/lua/${lua.luaversion}" LUACPATH="$out/lib/lua/${lua.luaversion}" INC_PATH="-I${lua}/include"