Merge fort-nix/nix-bitcoin#675: test: use nixpkgs-unstable flake input for nix-bitcoin pkgs
afbd8a3cadtest: use `nixpkgs-unstable` flake input for nix-bitcoin pkgs (Erik Arvstedt) Pull request description: ACKs for top commit: jonasnick: utACKafbd8a3cadTree-SHA512: ad5fba6cafff4acab4b63841b5376c0bc014eee9c40997b89ffbc52b1703453f7b064a7e61835b66f59136f6d5ea08670509d4e01085a972a46db3a7ec007648
This commit is contained in:
commit
6f72575932
2 changed files with 3 additions and 3 deletions
|
|
@ -26,7 +26,7 @@
|
||||||
# "armv7l-linux"
|
# "armv7l-linux"
|
||||||
];
|
];
|
||||||
|
|
||||||
test = import ./test/tests.nix nixpkgs.lib;
|
test = import ./test/tests.nix nixpkgs.lib self.nixosModules.default;
|
||||||
in {
|
in {
|
||||||
lib = {
|
lib = {
|
||||||
mkNbPkgs = {
|
mkNbPkgs = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Integration tests, can be run without internet access.
|
# Integration tests, can be run without internet access.
|
||||||
|
|
||||||
lib:
|
lib: nixBitcoinModule:
|
||||||
let
|
let
|
||||||
# Included in all scenarios
|
# Included in all scenarios
|
||||||
baseConfig = { config, pkgs, ... }: with lib; let
|
baseConfig = { config, pkgs, ... }: with lib; let
|
||||||
|
|
@ -9,7 +9,7 @@ let
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./lib/test-lib.nix
|
./lib/test-lib.nix
|
||||||
../modules/modules.nix
|
nixBitcoinModule
|
||||||
{
|
{
|
||||||
# Features required by the Python test suite
|
# Features required by the Python test suite
|
||||||
nix-bitcoin.secretsDir = "/secrets";
|
nix-bitcoin.secretsDir = "/secrets";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue