diff options
| author | Alejandro Soto <alejandro@34project.org> | 2025-08-06 13:56:34 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2025-08-06 13:56:54 -0600 |
| commit | 31711962b9ae7985287b98a165a52c40da402f4b (patch) | |
| tree | 39f8ede7d4430033d503e9236009f16523c5cf61 /doctrine/lib | |
| parent | 3e85a281ec997ddfac4601c15e6851e6dd31bfb6 (diff) | |
modules: automatically import all modules
Diffstat (limited to 'doctrine/lib')
| -rw-r--r-- | doctrine/lib/importAll.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doctrine/lib/importAll.nix b/doctrine/lib/importAll.nix index 6acabe9..03c5330 100644 --- a/doctrine/lib/importAll.nix +++ b/doctrine/lib/importAll.nix @@ -1,6 +1,6 @@ {lib}: { root, - exclude ? [], + exclude ? ["default"], }: with builtins; with lib; @@ -10,7 +10,7 @@ with lib; isMatch = name: type: (hasSuffix ".nix" name || type == "directory") - && ! elem name (map basename exclude); + && ! elem (basename name) exclude; entry = name: _: { name = basename name; |
