nix-config/overlays/default.nix

23 lines
478 B
Nix
Raw Permalink Normal View History

2025-01-14 01:29:24 +01:00
{inputs, ...}: {
flake-inputs = final: _: {
inputs =
builtins.mapAttrs (
_: flake: let
legacyPackages = (flake.legacyPackages or {}).${final.system} or {};
packages = (flake.packages or {}).${final.system} or {};
in
if legacyPackages != {}
then legacyPackages
else packages
)
inputs;
};
additions = final: _prev: import ../pkgs final.pkgs;
modifications = final: prev: {
};
}