mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
nix: fix flakeModule export (don't use importApply)
This commit is contained in:
parent
1bb9a4f7e1
commit
a8c6796b7a
2 changed files with 8 additions and 16 deletions
|
|
@ -1,14 +1,8 @@
|
|||
{ withSystem, flake-parts-lib, ... }:
|
||||
|
||||
let
|
||||
inherit (flake-parts-lib) importApply;
|
||||
flakeModules.combinators = importApply ./it.nix { inherit withSystem; };
|
||||
in
|
||||
|
||||
{
|
||||
imports = [ flakeModules.combinators ];
|
||||
# Note: referencing to self would recurse infinitely.
|
||||
imports = [ ./it.nix ];
|
||||
|
||||
flake = {
|
||||
inherit flakeModules;
|
||||
flake.flakeModules = {
|
||||
combinators = ./it.nix;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue