Skip to content

Commit

Permalink
gnugrep: Re-enable check phase by default
Browse files Browse the repository at this point in the history
long-pattern-perf is now disabled by default because the test is
expensive.
  • Loading branch information
dasJ committed May 15, 2023
1 parent 95152ad commit 658c76a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkgs/tools/text/gnugrep/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,14 @@ stdenv.mkDerivation {
hash = "sha256-HbKu3eidDepCsW2VKPiUyNFdrk4ZC1muzHj1qVEnbqs=";
};

# Perl is needed for testing
nativeBuildInputs = [ perl ] ++ lib.optional stdenv.hostPlatform.isLoongArch64 autoreconfHook;
nativeCheckInputs = [ perl ];
outputs = [ "out" "info" ]; # the man pages are rather small

buildInputs = [ pcre libiconv ];

# cygwin: FAIL: multibyte-white-space
# freebsd: FAIL mb-non-UTF8-performance
# all platforms: timing sensitivity in long-pattern-perf
#doCheck = !stdenv.isDarwin && !stdenv.isSunOS && !stdenv.isCygwin && !stdenv.isFreeBSD;
doCheck = false;
doCheck = !stdenv.isCygwin && !stdenv.isFreeBSD;

# On macOS, force use of mkdir -p, since Grep's fallback
# (./install-sh) is broken.
Expand Down

0 comments on commit 658c76a

Please sign in to comment.