gnupg22: fix tests eval

Without the change `tests` attribute fails to resolve testsuite:

    $ nix build --no-link -f. gnupg22.tests
    error: attribute 'nixosTests' missing
This commit is contained in:
Sergei Trofimovich
2023-12-28 23:12:55 +00:00
parent ae9397e83b
commit 2941ce1993
+2 -1
View File
@@ -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";