23 lines
478 B
Nix
23 lines
478 B
Nix
|
{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: {
|
||
|
};
|
||
|
|
||
|
}
|