luajit_*: avoid double callPackage

IIRC it causes some problems when overriding.
This commit is contained in:
Vladimír Čunát 2019-02-06 16:27:27 +01:00
parent dbc771f2e1
commit 01a1cb913e
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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;