tests(clan): move test-inventory.nix to clanLib. And name it 'makeTestClan'
Exposing the function via clanLib makes it more accessible to clan modules This allows each module to define its own test without needing to depend on any fileSystem path assumptions in the clan-core repo
This commit is contained in:
@@ -13,7 +13,7 @@ in
|
||||
{ config, options, ... }:
|
||||
{
|
||||
imports = [
|
||||
./minify.nix
|
||||
self.clanLib.test.minifyModule
|
||||
];
|
||||
config = lib.mkMerge [
|
||||
(lib.optionalAttrs (options ? clan) {
|
||||
|
||||
Reference in New Issue
Block a user