mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
Simplified lua-packages function arguments to look nicer in all-packages
This commit is contained in:
parent
e6eb51496b
commit
5c4362ae5a
@ -3755,17 +3755,9 @@ let
|
||||
lua5 = lua5_2_compat;
|
||||
lua = lua5;
|
||||
|
||||
lua51Packages = recurseIntoAttrs (import ./lua-packages.nix {
|
||||
pkgs = pkgs // {
|
||||
lua = lua5_1;
|
||||
};
|
||||
});
|
||||
lua51Packages = recurseIntoAttrs (import ./lua-packages.nix pkgs lua5_1);
|
||||
|
||||
lua52Packages = recurseIntoAttrs (import ./lua-packages.nix {
|
||||
pkgs = pkgs // {
|
||||
lua = lua5_2;
|
||||
};
|
||||
});
|
||||
lua52Packages = recurseIntoAttrs (import ./lua-packages.nix pkgs lua5_2);
|
||||
|
||||
luaPackages = lua52Packages;
|
||||
|
||||
|
@ -5,11 +5,12 @@
|
||||
for each package in a separate file: the call to the function would
|
||||
be almost as must code as the function itself. */
|
||||
|
||||
{pkgs}:
|
||||
pkgs:
|
||||
lua:
|
||||
|
||||
let self = _self; _self = with self; {
|
||||
|
||||
inherit (pkgs) fetchurl stdenv lua;
|
||||
inherit (pkgs) fetchurl stdenv;
|
||||
|
||||
inherit (stdenv.lib) maintainers;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user