summaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2026-01-25 21:21:13 +0000
committerGitHub <noreply@github.com>2026-01-25 21:21:13 +0000
commit4054ea2cea519d9cfb8690fcdfaf65b7a5aeea07 (patch)
tree1efd2f7b5b58ea96ac0e15babeb09e162b0fd48d /pkgs/development/interpreters
parentvarious: remove unused argument overrides (#483746) (diff)
parentluaPackages.buildLuarocksPackage: Get the final derivation picked by (diff)
downloadnixpkgs-4054ea2cea519d9cfb8690fcdfaf65b7a5aeea07.tar.gz
luaPackages.wrapLua: Fix the wrapper on cross (#481464)
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/lua-5/build-luarocks-package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/lua-5/build-luarocks-package.nix b/pkgs/development/interpreters/lua-5/build-luarocks-package.nix
index 736c9463521f..2c7450aa40d2 100644
--- a/pkgs/development/interpreters/lua-5/build-luarocks-package.nix
+++ b/pkgs/development/interpreters/lua-5/build-luarocks-package.nix
@@ -142,7 +142,7 @@ let
luarocksConfig =
let
externalDepsGenerated = lib.filter (drv: !drv ? luaModule) (
- self.nativeBuildInputs ++ self.propagatedBuildInputs ++ self.buildInputs
+ self.finalPackage.nativeBuildInputs ++ self.propagatedBuildInputs ++ self.buildInputs
);
generatedConfig = luaLib.generateLuarocksConfig {
@@ -157,7 +157,7 @@ let
# closure, as it doesn't have a rock tree :)
# luaLib.hasLuaModule
requiredLuaRocks = lib.filter luaLib.hasLuaModule (
- lua.pkgs.requiredLuaModules (self.nativeBuildInputs ++ self.propagatedBuildInputs)
+ lua.pkgs.requiredLuaModules (self.finalPackage.nativeBuildInputs ++ self.propagatedBuildInputs)
);
};