Skip to content

Commit

Permalink
Merge #675: test: use nixpkgs-unstable flake input for nix-bitcoin …
Browse files Browse the repository at this point in the history
…pkgs

afbd8a3 test: use `nixpkgs-unstable` flake input for nix-bitcoin pkgs (Erik Arvstedt)

Pull request description:

ACKs for top commit:
  jonasnick:
    utACK afbd8a3

Tree-SHA512: ad5fba6cafff4acab4b63841b5376c0bc014eee9c40997b89ffbc52b1703453f7b064a7e61835b66f59136f6d5ea08670509d4e01085a972a46db3a7ec007648
  • Loading branch information
jonasnick committed Jan 16, 2024
2 parents b34bf78 + afbd8a3 commit 6f72575
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
4 changes: 2 additions & 2 deletions test/tests.nix
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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";
Expand Down

0 comments on commit 6f72575

Please sign in to comment.