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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user