diff --git a/flake.nix b/flake.nix index 71eb100..dfcf428 100644 --- a/flake.nix +++ b/flake.nix @@ -26,7 +26,7 @@ # "armv7l-linux" ]; - test = import ./test/tests.nix nixpkgs.lib; + test = import ./test/tests.nix nixpkgs.lib self.nixosModules.default; in { lib = { mkNbPkgs = { diff --git a/test/tests.nix b/test/tests.nix index 578a3f8..6ef7e46 100644 --- a/test/tests.nix +++ b/test/tests.nix @@ -1,6 +1,6 @@ # Integration tests, can be run without internet access. -lib: +lib: nixBitcoinModule: let # Included in all scenarios baseConfig = { config, pkgs, ... }: with lib; let @@ -9,7 +9,7 @@ let in { imports = [ ./lib/test-lib.nix - ../modules/modules.nix + nixBitcoinModule { # Features required by the Python test suite nix-bitcoin.secretsDir = "/secrets";