1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 15:15:36 +00:00

neomutt: Remove old fixes for failing tests

Includes both rfc2047 tests workarounds and locale workarounds.
Fixes #86896. See https://github.com/neomutt/neomutt/pull/2314 .
This commit is contained in:
Doron Behar 2020-06-08 17:46:28 +03:00 committed by Maximilian Bosch
parent b8f65212ec
commit b58227a4c0
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -42,12 +42,6 @@ stdenv.mkDerivation rec {
# and use a far more comprehensive list than the one shipped with neomutt
substituteInPlace sendlib.c \
--replace /etc/mime.types ${mailcap}/etc/mime.types
# The string conversion tests all fail with the first version of neomutt
# that has tests (20180223) as well as 20180716 so we disable them for now.
# I don't know if that is related to the tests or our build environment.
# Try again with a later release.
sed -i '/rfc2047/d' test/Makefile.autosetup test/main.c
'';
configureFlags = [
@ -89,10 +83,8 @@ stdenv.mkDerivation rec {
(cd test-files && ./setup.sh)
export NEOMUTT_TEST_DIR=$(pwd)/test-files
export LC_ALL="en_US.UTF-8"
'';
checkInputs = [ glibcLocales ];
checkTarget = "test";
postCheck = "unset NEOMUTT_TEST_DIR";