about summary refs log tree commit diff
path: root/nixpkgs/lib/deprecated.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/lib/deprecated.nix')
-rw-r--r--nixpkgs/lib/deprecated.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/lib/deprecated.nix b/nixpkgs/lib/deprecated.nix
index 15de50456612..155d6f0c3611 100644
--- a/nixpkgs/lib/deprecated.nix
+++ b/nixpkgs/lib/deprecated.nix
@@ -24,7 +24,7 @@ rec {
     let arg = (merger init (defaultMergeArg init x));
         # now add the function with composed args already applied to the final attrs
         base = (setAttrMerge "passthru" {} (f arg)
-                        ( z: z // rec {
+                        ( z: z // {
                             function = foldArgs merger f arg;
                             args = (lib.attrByPath ["passthru" "args"] {} z) // x;
                           } ));