1
Fork 0

no way this works

This commit is contained in:
caem 2025-01-23 15:04:02 +01:00
parent c1c06ab01c
commit 294b4a05ba
Signed by: caem
GPG key ID: 69A830D03203405F
2 changed files with 3 additions and 2 deletions

View file

@ -2,9 +2,9 @@
let
importOverlays = builtins.map
(overlay: overlay { inherit lib inputs; })
(overlay: import overlay { inherit lib inputs; })
(builtins.filter
(file: builtins.match "(.*.nix)" (builtins.toString file) != [])
(file: builtins.match ".*\.nix" (builtins.toString file) != null)
(lib.filesystem.listFilesRecursive ../../../overlays));
in {
nix = {

View file

@ -2,3 +2,4 @@
(final: prev: {
unstable = inputs.nixpkgs-unstable.legacyPackages.${prev.system};
})
(builtins.filter (file: builtins.match "(.*.nix)" (builtins.toString file) != null) (lib.filesystem.listFilesRecursive ./.))