diff --git a/nixos/unit-tests.nix b/nixos/unit-tests.nix index 8d6719e518aee22237869f048b888666662db744..eee3e62a9914699e7a39424d474d72f5786b0699 100644 --- a/nixos/unit-tests.nix +++ b/nixos/unit-tests.nix @@ -1,6 +1,7 @@ # The overall unit test suite for PrivateStorageio NixOS configuration. let pkgs = import <nixpkgs> { }; + pspkgs = pkgs.callPackage ./modules/pspkgs.nix { }; # Total the numbers in a list. sum = builtins.foldl' (a: b: a + b) 0; @@ -10,10 +11,9 @@ let testModules = [ (import ./lib/tests/test_ini.nix (pkgs.callPackage ./lib/ini.nix { })) (import ./lib/tests/test_openssl.nix pkgs.openssl) + (import ./lib/tests/test_openssl.nix pspkgs.openssl) (import ./lib/tests/test_packages.nix { inherit pkgs; }) - (import ./lib/tests/test_pspackages.nix { - pspkgs = pkgs.callPackage ./modules/pspkgs.nix { }; - }) + (import ./lib/tests/test_pspackages.nix { inherit pspkgs; }) ]; # Count up the tests we're going to run.