diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7b61ad101db0..14ab32ac8f30 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7796,12 +7796,14 @@ in luaPackages = lua52Packages; # override instead ? - luajit_2_0 = callPackage ../development/interpreters/luajit/2.0.nix { + luajit_2_0 = import ../development/interpreters/luajit/2.0.nix { self = luajit_2_0; + inherit (super) callPackage lib; }; - luajit_2_1 = callPackage ../development/interpreters/luajit/2.1.nix { + luajit_2_1 = import ../development/interpreters/luajit/2.1.nix { self = luajit_2_1; + inherit (super) callPackage lib; }; luajit = luajit_2_1;