From 04704d164a4e948f40829e11d52b5afee0dad331 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Fri, 26 Mar 2021 09:58:39 -0400
Subject: [PATCH] more tests

---
 nixos/unit-tests.nix | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nixos/unit-tests.nix b/nixos/unit-tests.nix
index 8d6719e5..eee3e62a 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.
-- 
GitLab