Bruno BELANYI
fc6b221ba1
Some checks failed
ci/woodpecker/push/check Pipeline failed
Don't rely on nixpkgs' lib to make it easier to just `import` the directory.
7 lines
213 B
Nix
7 lines
213 B
Nix
# Automatically import all overlays in the directory
|
|
let
|
|
files = builtins.readDir ./.;
|
|
overlays = builtins.removeAttrs files [ "default.nix" ];
|
|
in
|
|
builtins.mapAttrs (name: _: import "${./.}/${name}") overlays
|