Files
clan-core/lib/flake-module.nix
DavHau 5ce72dd261 tests: reduce unnecessary rebuilds of several tests
Some test were referring to the whole source code via ${self} which amde them rebuild on every single commit.

This is not mitigated by introduceing `self.filter { include = [...]; }` allowin to a content addressed subset of the source code in tests.
2025-01-17 17:00:18 +07:00

26 lines
381 B
Nix

{
lib,
inputs,
self,
...
}:
let
inherit (lib)
filter
pathExists
;
in
{
imports = filter pathExists [
./jsonschema/flake-module.nix
./inventory/flake-module.nix
./build-clan/flake-module.nix
./values/flake-module.nix
];
flake.lib = import ./default.nix {
inherit lib inputs;
inherit (inputs) nixpkgs;
clan-core = self;
};
}