treewide: remove redundant 'builtins'
I keep forgetting `map` and `removeAttrs` are included at the top-level in the prelude.
This commit is contained in:
parent
7231c7ced7
commit
34c4f044a2
6 changed files with 8 additions and 8 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Automatically import all overlays in the directory
|
||||
let
|
||||
files = builtins.readDir ./.;
|
||||
overlays = builtins.removeAttrs files [ "default.nix" ];
|
||||
overlays = removeAttrs files [ "default.nix" ];
|
||||
in
|
||||
builtins.mapAttrs (name: _: import "${./.}/${name}") overlays
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue