mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 00:00:44 +01:00
16 lines
228 B
Nix
16 lines
228 B
Nix
{
|
|
pkgs,
|
|
lib,
|
|
inputs,
|
|
inputs',
|
|
...
|
|
}:
|
|
{
|
|
_module.args = {
|
|
inputs' = lib.mapAttrs (lib.const (
|
|
lib.mapAttrs (lib.const (value: value.${pkgs.system} or value))
|
|
)) inputs;
|
|
|
|
flake' = inputs'.self;
|
|
};
|
|
}
|