jq: disable two testcases failing on FreeBSD

Reported upstream and linked inline.
This commit is contained in:
Audrey Dutcher 2024-06-04 07:24:35 -07:00
parent 6ec1ebc334
commit 436d13bb14

View File

@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
outputs = [ "bin" "doc" "man" "dev" "lib" "out" ];
# https://github.com/jqlang/jq/issues/2871
postPatch = lib.optionalString stdenv.isFreeBSD ''
substituteInPlace Makefile.am --replace-fail "tests/mantest" "" --replace-fail "tests/optionaltest" ""
'';
# Upstream script that writes the version that's eventually compiled
# and printed in `jq --help` relies on a .git directory which our src
# doesn't keep.