tests: move mkIfTest to nix-bitcoin.lib
This commit is contained in:
parent
47a09ec214
commit
8eaa4cce30
3 changed files with 7 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ let
|
|||
|
||||
baseConfig = { pkgs, config, ... }: let
|
||||
cfg = config.services;
|
||||
mkIfTest = test: mkIf (config.tests.${test} or false);
|
||||
inherit (config.nix-bitcoin.lib.test) mkIfTest;
|
||||
in {
|
||||
imports = [
|
||||
./lib/test-lib.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue