test: use nixpkgs-unstable flake input for nix-bitcoin pkgs
By using the `default` flake module for tests, `pkgsUnstable` in `pkgs/default.nix` gets passed the `nixpkgs-unstable` flake input instead of falling back to importing `nixpkgsPinned.nixpkgs-unstable`. For some use cases this prevents importing `nixpkgs-unstable` twice (once via the `nixpkgs-unstable` flake input, once via `import nixpkgsPinned.nixpkgs-unstable`).
This commit is contained in:
parent
88c2a1ce55
commit
afbd8a3cad
2 changed files with 3 additions and 3 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue