Skip to content

Commit

Permalink
Use lib.packagesFromDirectoryRecursive (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years authored Apr 4, 2024
1 parent d6b0d28 commit b59d6d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 71 deletions.
11 changes: 5 additions & 6 deletions nix/makePackages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
inputs,
}:
lib.makeScope newScope (
self: let
packagesFromDirectory = (import ./packagesFromDirectory.nix) {
inherit lib;
self:
{inherit inputs;}
// (lib.packagesFromDirectoryRecursive {
directory = inputs.self + "/nix/packages";
inherit (self) callPackage;
};
in
{inherit inputs;} // (packagesFromDirectory "./packages")
})
)
65 changes: 0 additions & 65 deletions nix/packagesFromDirectory.nix

This file was deleted.

0 comments on commit b59d6d1

Please sign in to comment.