neomutt: remove mutt wrapper

Since Oct 14, 2017 we warned users still executing `neomutt`
through the `mutt` binary, so we can assume everybody read the notice,
updated his config, and can drop the wrapper.
wip/yesman
Florian Klink 5 years ago
parent 83ba5afcc9
commit 5ada40d687
  1. 15
      pkgs/applications/networking/mailreaders/neomutt/default.nix

@ -3,19 +3,7 @@
, lmdb, libxslt, docbook_xsl, docbook_xml_dtd_42, mailcap, runtimeShell
}:
let
muttWrapper = writeScript "mutt" ''
#!${runtimeShell} -eu
echo 'The neomutt project has renamed the main binary from `mutt` to `neomutt`.'
echo ""
echo 'This wrapper is provided for compatibility purposes only. You should start calling `neomutt` instead.'
echo ""
read -p 'Press any key to launch NeoMutt...' -n1 -s
exec neomutt "$@"
'';
in stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
version = "20180716";
name = "neomutt-${version}";
@ -80,7 +68,6 @@ in stdenv.mkDerivation rec {
NIX_LDFLAGS = "-lidn";
postInstall = ''
cp ${muttWrapper} $out/bin/mutt
wrapProgram "$out/bin/neomutt" --prefix PATH : "$out/libexec/neomutt"
'';

Loading…
Cancel
Save