mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2025-03-15 04:58:03 +00:00
templates.multi-module: Use lib.mkFlake
This commit is contained in:
parent
55ee2b46b3
commit
db611fc5ab
1 changed files with 17 additions and 20 deletions
|
@ -8,9 +8,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, flake-modules-core, ... }:
|
outputs = { self, flake-modules-core, ... }:
|
||||||
(flake-modules-core.lib.evalFlakeModule
|
flake-modules-core.lib.mkFlake { inherit self; } {
|
||||||
{ inherit self; }
|
|
||||||
{
|
|
||||||
imports = [
|
imports = [
|
||||||
./hello/flake-module.nix
|
./hello/flake-module.nix
|
||||||
];
|
];
|
||||||
|
@ -28,6 +26,5 @@
|
||||||
# those are more easily expressed in perSystem.
|
# those are more easily expressed in perSystem.
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
).config.flake;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue