Skip to content

Commit

Permalink
fixup! lib.packagesFromDirectoryRecursive: default to creating new sc…
Browse files Browse the repository at this point in the history
…opes when `newScope` is provided
  • Loading branch information
nbraud committed Dec 1, 2024
1 parent 57b51d0 commit 85b9516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/filesystem.nix
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ in
if args ? newScope then
# when `newScope` is provided, create a new scope when recursing into a directory (incl. the top one)
f: { newScope, ... }@args:
lib.recurseIntoAttrset (lib.makeScope newScope (self:
lib.recurseIntoAttrs (lib.makeScope newScope (self:
f (args // {
inherit (self) callPackage newScope;
})
Expand Down

0 comments on commit 85b9516

Please sign in to comment.