Simplified lua-packages function arguments to look nicer in all-packages

This commit is contained in:
wyvie
2014-09-23 13:56:45 +02:00
committed by Domen Kožar
parent e6eb51496b
commit 5c4362ae5a
2 changed files with 5 additions and 12 deletions
+3 -2
View File
@@ -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;