summary refs log tree commit diff
path: root/pkgs/top-level/lua-packages.nix
diff options
context:
space:
mode:
authorwyvie <elijahrum@gmail.com>2014-09-23 10:52:10 +0400
committerDomen Kožar <domen@dev.si>2014-09-23 13:56:45 +0200
commit124ccae2e85ac293ced73fe9d221042cb3d0a54f (patch)
tree4370f0a33d24a4f3de59dbcf41b22c82371a395c /pkgs/top-level/lua-packages.nix
parent6bd2f75f1c67d2f8cdfd1b953228408c6fc401ba (diff)
downloadnixlib-124ccae2e85ac293ced73fe9d221042cb3d0a54f.tar
nixlib-124ccae2e85ac293ced73fe9d221042cb3d0a54f.tar.gz
nixlib-124ccae2e85ac293ced73fe9d221042cb3d0a54f.tar.bz2
nixlib-124ccae2e85ac293ced73fe9d221042cb3d0a54f.tar.lz
nixlib-124ccae2e85ac293ced73fe9d221042cb3d0a54f.tar.xz
nixlib-124ccae2e85ac293ced73fe9d221042cb3d0a54f.tar.zst
nixlib-124ccae2e85ac293ced73fe9d221042cb3d0a54f.zip
Refactored to use callPackage right
Diffstat (limited to 'pkgs/top-level/lua-packages.nix')
-rw-r--r--pkgs/top-level/lua-packages.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix
index 83db0bfb5aeb..88216413576a 100644
--- a/pkgs/top-level/lua-packages.nix
+++ b/pkgs/top-level/lua-packages.nix
@@ -5,13 +5,10 @@
    for each package in a separate file: the call to the function would
    be almost as must code as the function itself. */
 
-pkgs:
-lua:
+{fetchurl, stdenv, lua}:
 
 let self = _self; _self = with self; {
 
-  inherit (pkgs) fetchurl stdenv;
-
   inherit (stdenv.lib) maintainers;
 
   #define build lua package function