Skip to content

Commit

Permalink
overlays: generalize
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Sep 28, 2024
1 parent 19a97b2 commit 3ff8860
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
# Make our overlay available to the devShell
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
overlays = [
(import "${self}/overlays/default.nix" self.nixos-flake.lib.specialArgsFor.common)
];
overlays = builtins.map
(name: import "${self}/overlays/${name}" self.nixos-flake.lib.specialArgsFor.common)
(builtins.attrNames (builtins.readDir "${self}/overlays"));
};
};
};
Expand Down

0 comments on commit 3ff8860

Please sign in to comment.