From 7a349590ac2b6a90cc8c69d345a4de1420221656 Mon Sep 17 00:00:00 2001 From: Elliot Cameron Date: Sat, 17 Aug 2024 01:01:50 -0400 Subject: [PATCH] gss: re-enable tests Two in-flight PRs (#327128 and #328673) both solved the same problem in a different way. This merges the best of both PRs and re-enables tests. --- pkgs/development/libraries/gss/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/gss/default.nix b/pkgs/development/libraries/gss/default.nix index ffa4ca77e251e..42d22c2bd5fe1 100644 --- a/pkgs/development/libraries/gss/default.nix +++ b/pkgs/development/libraries/gss/default.nix @@ -13,7 +13,9 @@ stdenv.mkDerivation rec { url = "mirror://gnu/gss/gss-${version}.tar.gz"; hash = "sha256-7M6r3vTK4/znIYsuy4PrQifbpEtTthuMKy6IrgJBnHM="; }; - # This test crashes now. Most likely triggered by expiration on 20240711. + + # krb5context test uses certificates that expired on 2024-07-11. + # Reported to bug-gss@gnu.org with Message-ID: <87cyngavtt.fsf@alyssa.is>. postPatch = '' rm tests/krb5context.c ''; @@ -29,10 +31,6 @@ stdenv.mkDerivation rec { "--${if withShishi then "enable" else "disable"}-kerberos5" ]; - # krb5context test uses certificates that expired on 2024-07-11. - # Reported to bug-gss@gnu.org with Message-ID: <87cyngavtt.fsf@alyssa.is>. - doCheck = !withShishi; - # Fixup .la files postInstall = lib.optionalString withShishi '' sed -i 's,\(-lshishi\),-L${shishi}/lib \1,' $out/lib/libgss.la