Skip to content

Commit

Permalink
age: skip flaky plugin test
Browse files Browse the repository at this point in the history
See issue in upstream FiloSottile/age#517.
age fails this test on both x86_64 and aarch64, but sometimes it doesn't.
Disable this test until the upstream issue is resolved.
  • Loading branch information
YorikSar committed Nov 5, 2023
1 parent d87836b commit 88bf64b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/tools/security/age/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, fetchpatch, installShellFiles }:
{ lib, buildGoModule, fetchFromGitHub, fetchpatch, installShellFiles, stdenv }:

buildGoModule rec {
pname = "age";
Expand Down Expand Up @@ -53,6 +53,11 @@ buildGoModule rec {
fi
'';

# plugin test is flaky on darwin, see https://github.com/FiloSottile/age/issues/517
preCheck = lib.optionalString stdenv.isDarwin ''
buildFlagsArray+=("-skip" "TestScript/plugin")
'';

meta = with lib; {
homepage = "https://age-encryption.org/";
description = "Modern encryption tool with small explicit keys";
Expand Down

0 comments on commit 88bf64b

Please sign in to comment.