| Tim Windelschmidt | 98000a5 | 2025-03-06 14:22:15 +0100 | [diff] [blame] | 1 | { pkgs }: with pkgs; |
| 2 | if (!stdenv.hostPlatform.isStatic) then diffutils else |
| 3 | diffutils.overrideAttrs (old: { |
| 4 | # Disable tests as they fail when static build. |
| 5 | |
| 6 | # FAIL: test-getopt-gnu |
| 7 | #===================== |
| 8 | # |
| 9 | #test-getopt.h:661: assertion 'optind == 2' failed |
| 10 | #FAIL test-getopt-gnu (exit status: 134) |
| 11 | # |
| 12 | #FAIL: test-getopt-posix |
| 13 | #======================= |
| 14 | # |
| 15 | #test-getopt.h:661: assertion 'optind == 2' failed |
| 16 | #FAIL test-getopt-posix (exit status: 134) |
| 17 | # |
| 18 | #FAIL: test-nl_langinfo-mt |
| 19 | #========================= |
| 20 | # |
| 21 | #FAIL test-nl_langinfo-mt (exit status: 134) |
| 22 | # |
| 23 | #FAIL: test-random-mt |
| 24 | #==================== |
| 25 | # |
| 26 | #FAIL test-random-mt (exit status: 134) |
| 27 | # |
| 28 | #FAIL: test-setlocale_null-mt-one |
| 29 | #================================ |
| 30 | # |
| 31 | #FAIL test-setlocale_null-mt-one (exit status: 134) |
| 32 | # |
| 33 | #FAIL: test-setlocale_null-mt-all |
| 34 | #================================ |
| 35 | # |
| 36 | #FAIL test-setlocale_null-mt-all (exit status: 134) |
| 37 | doCheck = false; |
| 38 | doInstallCheck = false; |
| 39 | }) |