Refactored to use callPackage right
This commit is contained in:
parent
6bd2f75f1c
commit
124ccae2e8
@ -3755,9 +3755,9 @@ let
|
|||||||
lua5 = lua5_2_compat;
|
lua5 = lua5_2_compat;
|
||||||
lua = lua5;
|
lua = lua5;
|
||||||
|
|
||||||
lua51Packages = recurseIntoAttrs (callPackage ./lua-packages.nix pkgs lua5_1);
|
lua51Packages = recurseIntoAttrs (callPackage ./lua-packages.nix { lua = lua5_1; });
|
||||||
|
|
||||||
lua52Packages = recurseIntoAttrs (callPackage ./lua-packages.nix pkgs lua5_2);
|
lua52Packages = recurseIntoAttrs (callPackage ./lua-packages.nix { lua = lua5_2; });
|
||||||
|
|
||||||
luaPackages = lua52Packages;
|
luaPackages = lua52Packages;
|
||||||
|
|
||||||
|
@ -5,13 +5,10 @@
|
|||||||
for each package in a separate file: the call to the function would
|
for each package in a separate file: the call to the function would
|
||||||
be almost as must code as the function itself. */
|
be almost as must code as the function itself. */
|
||||||
|
|
||||||
pkgs:
|
{fetchurl, stdenv, lua}:
|
||||||
lua:
|
|
||||||
|
|
||||||
let self = _self; _self = with self; {
|
let self = _self; _self = with self; {
|
||||||
|
|
||||||
inherit (pkgs) fetchurl stdenv;
|
|
||||||
|
|
||||||
inherit (stdenv.lib) maintainers;
|
inherit (stdenv.lib) maintainers;
|
||||||
|
|
||||||
#define build lua package function
|
#define build lua package function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user