Loading pkgs/development/lua-modules/lux-lua.nix +62 −60 Original line number Diff line number Diff line Loading @@ -12,14 +12,15 @@ perl, pkg-config, rustPlatform, toLuaModule 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 { toLuaModule ( rustPlatform.buildRustPackage rec { pname = "lux-lua"; version = lux-cli.version; Loading Loading @@ -90,4 +91,5 @@ toLuaModule (rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.all; }; }) } ) Loading
pkgs/development/lua-modules/lux-lua.nix +62 −60 Original line number Diff line number Diff line Loading @@ -12,14 +12,15 @@ perl, pkg-config, rustPlatform, toLuaModule 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 { toLuaModule ( rustPlatform.buildRustPackage rec { pname = "lux-lua"; version = lux-cli.version; Loading Loading @@ -90,4 +91,5 @@ toLuaModule (rustPlatform.buildRustPackage rec { ]; platforms = lib.platforms.all; }; }) } )