lol

Merge pull request #241354 from reckenrode/diffutils-darwin

diffutils: disable hanging test on x86_64-darwin

authored by

Weijia Wang and committed by
GitHub
cad9efb4 14bdc27e

+7
+7
pkgs/tools/text/diffutils/default.nix
··· 20 20 /* If no explicit coreutils is given, use the one from stdenv. */ 21 21 buildInputs = [ coreutils ]; 22 22 23 + # Disable stack-related gnulib tests on x86_64-darwin because they have problems running under 24 + # Rosetta 2: test-c-stack hangs, test-sigsegv-catch-stackoverflow fails. 25 + postPatch = if (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) then '' 26 + sed -i -E 's:test-c-stack2?\.sh::g' gnulib-tests/Makefile.in 27 + sed -i -E 's:test-sigsegv-catch-stackoverflow[12]::g' gnulib-tests/Makefile.in 28 + '' else null; 29 + 23 30 configureFlags = 24 31 # "pr" need not be on the PATH as a run-time dep, so we need to tell 25 32 # configure where it is. Covers the cross and native case alike.