diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2023-12-28 23:12:55 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2023-12-28 23:12:55 +0000 |
commit | 2941ce1993d800f699aeaa9078d369ff8a5598a0 (patch) | |
tree | b117f12f45684b231986a6e18b468215f531cc2c /pkgs/tools/security | |
parent | ae9397e83b3c9c4358fdd8503d45fd9259a00b34 (diff) |
gnupg22: fix `tests` eval
Without the change `tests` attribute fails to resolve testsuite: $ nix build --no-link -f. gnupg22.tests error: attribute 'nixosTests' missing
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r-- | pkgs/tools/security/gnupg/22.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/security/gnupg/22.nix b/pkgs/tools/security/gnupg/22.nix index 78f4af894a306..59e7bcc13d669 100644 --- a/pkgs/tools/security/gnupg/22.nix +++ b/pkgs/tools/security/gnupg/22.nix @@ -5,6 +5,7 @@ , enableMinimal ? false , withPcsc ? !enableMinimal, pcsclite , guiSupport ? stdenv.isDarwin, pinentry +, nixosTests }: assert guiSupport -> enableMinimal == false; @@ -80,7 +81,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - passthru.tests = lib.nixosTests.gnupg; + passthru.tests = nixosTests.gnupg; meta = with lib; { homepage = "https://gnupg.org"; |