1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 00:00:44 +01:00
flake/modules/_module.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;
};
}