summary refs log tree commit diff
path: root/pkgs/development/interpreters/python/passthrufun.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/python/passthrufun.nix')
-rw-r--r--pkgs/development/interpreters/python/passthrufun.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/development/interpreters/python/passthrufun.nix b/pkgs/development/interpreters/python/passthrufun.nix
index 91ff48d9571..aa63f354e08 100644
--- a/pkgs/development/interpreters/python/passthrufun.nix
+++ b/pkgs/development/interpreters/python/passthrufun.nix
@@ -48,6 +48,7 @@
       };
       hooks = import ./hooks/default.nix;
       keep = lib.extends hooks pythonPackagesFun;
+      extra = _: {};
       optionalExtensions = cond: as: lib.optionals cond as;
       pythonExtension = import ../../../top-level/python-packages.nix;
       python2Extension = import ../../../top-level/python2-packages.nix;
@@ -59,10 +60,12 @@
         overrides
       ]);
       aliases = self: super: lib.optionalAttrs config.allowAliases (import ../../../top-level/python-aliases.nix lib self super);
-    in makeScopeWithSplicing {
-      inherit otherSplices keep;
-      f = lib.extends (lib.composeExtensions aliases extensions) keep;
-    }) {
+    in makeScopeWithSplicing
+      otherSplices
+      keep
+      extra
+      (lib.extends (lib.composeExtensions aliases extensions) keep))
+    {
       overrides = packageOverrides;
       python = self;
     });