Loading pkgs/development/lua-modules/lux-lua.nix +62 −59 Original line number Diff line number Diff line Loading @@ -12,12 +12,14 @@ perl, pkg-config, rustPlatform, toLuaModule, }: let luaMajorMinor = lib.take 2 (lib.splitVersion lua.version); luaVersionDir = if isLuaJIT then "jit" else lib.concatStringsSep "." luaMajorMinor; luaFeature = if isLuaJIT then "luajit" else "lua${lib.concatStringsSep "" luaMajorMinor}"; in toLuaModule ( rustPlatform.buildRustPackage rec { pname = "lux-lua"; Loading Loading @@ -90,3 +92,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.all; }; } ) Loading
pkgs/development/lua-modules/lux-lua.nix +62 −59 Original line number Diff line number Diff line Loading @@ -12,12 +12,14 @@ perl, pkg-config, rustPlatform, toLuaModule, }: let luaMajorMinor = lib.take 2 (lib.splitVersion lua.version); luaVersionDir = if isLuaJIT then "jit" else lib.concatStringsSep "." luaMajorMinor; luaFeature = if isLuaJIT then "luajit" else "lua${lib.concatStringsSep "" luaMajorMinor}"; in toLuaModule ( rustPlatform.buildRustPackage rec { pname = "lux-lua"; Loading Loading @@ -90,3 +92,4 @@ rustPlatform.buildRustPackage rec { platforms = lib.platforms.all; }; } )