diff options
author | Artturin <Artturin@artturin.com> | 2023-07-28 17:06:35 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-07-28 17:41:01 +0300 |
commit | 3716ef19d837998c35cc102c80ad800d26517d7e (patch) | |
tree | d4377816f21ccb188d49e3cd446c36ce0cc36e9b /pkgs/development/interpreters/lua-5/default.nix | |
parent | cb13669b0049e795c3421987fe9367d82a0525b1 (diff) |
lib.makeScopeWithSplicing: provide default for keep,extra
These are often unneeded by the user.
Diffstat (limited to 'pkgs/development/interpreters/lua-5/default.nix')
-rw-r--r-- | pkgs/development/interpreters/lua-5/default.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/interpreters/lua-5/default.nix b/pkgs/development/interpreters/lua-5/default.nix index b0c6182caddd..918c3375b0d4 100644 --- a/pkgs/development/interpreters/lua-5/default.nix +++ b/pkgs/development/interpreters/lua-5/default.nix @@ -39,15 +39,13 @@ let selfHostHost = luaOnHostForHost.pkgs; selfTargetTarget = luaOnTargetForTarget.pkgs or {}; }; - keep = self: { }; - extra = spliced0: {}; extensions = lib.composeManyExtensions [ generatedPackages overriddenPackages overrides ]; in makeScopeWithSplicing { - inherit otherSplices keep extra; + inherit otherSplices; f = lib.extends extensions luaPackagesFun; }) { |