blob: bbb38e32d9ccb3c9bccb7d08ba86d48efccb6918 [file] [log] [blame]
{ pkgs }: with pkgs;
if (!stdenv.hostPlatform.isStatic) then diffutils else
diffutils.overrideAttrs (old: {
# Disable tests as they fail when static build.
# FAIL: test-getopt-gnu
#=====================
#
#test-getopt.h:661: assertion 'optind == 2' failed
#FAIL test-getopt-gnu (exit status: 134)
#
#FAIL: test-getopt-posix
#=======================
#
#test-getopt.h:661: assertion 'optind == 2' failed
#FAIL test-getopt-posix (exit status: 134)
#
#FAIL: test-nl_langinfo-mt
#=========================
#
#FAIL test-nl_langinfo-mt (exit status: 134)
#
#FAIL: test-random-mt
#====================
#
#FAIL test-random-mt (exit status: 134)
#
#FAIL: test-setlocale_null-mt-one
#================================
#
#FAIL test-setlocale_null-mt-one (exit status: 134)
#
#FAIL: test-setlocale_null-mt-all
#================================
#
#FAIL test-setlocale_null-mt-all (exit status: 134)
doCheck = false;
doInstallCheck = false;
})