diff --git a/nixos/modules/tests/private-storage.nix b/nixos/modules/tests/private-storage.nix index 353abc891fafd1cc988e47a1befa530a012470dc..044a132bf1ea17f00ee52c5dca610a8ff8e56bfc 100644 --- a/nixos/modules/tests/private-storage.nix +++ b/nixos/modules/tests/private-storage.nix @@ -87,6 +87,9 @@ let # succeed() is not success but 1 is. 1; "; + + pspkgs = import ../../../nixpkgs-ps.nix { }; + in { # https://nixos.org/nixos/manual/index.html#sec-nixos-tests # https://nixos.mayflower.consulting/blog/2019/07/11/leveraging-nixos-tests-in-your-project/ @@ -98,7 +101,7 @@ in { pkgs.daemonize # A Tahoe-LAFS configuration capable of using the right storage # plugin. - pkgs.privatestorage + pspkgs.privatestorage # Support for the tests we'll run. (pkgs.python3.withPackages (ps: [ ps.requests ps.hyperlink ])) ]; diff --git a/nixos/modules/tests/tahoe.nix b/nixos/modules/tests/tahoe.nix index df7acdf3cde3e8101a1119dbce127b17a68ef589..f226c7c62b0c396dd12c5054d9da6a0016b53766 100644 --- a/nixos/modules/tests/tahoe.nix +++ b/nixos/modules/tests/tahoe.nix @@ -1,4 +1,7 @@ -{ ... }: { +{ ... }: + let + pspkgs = import ../../../nixpkgs-ps.nix { }; + in { nodes = { storage = { config, pkgs, ... }: { imports = [ @@ -6,7 +9,7 @@ ]; services.tahoe.nodes.storage = { - package = pkgs.privatestorage; + package = pspkgs.privatestorage; sections = { node = { nickname = "storage";