1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

Merge pull request #63687 from flokli/neomutt-remove-wrapper

neomutt: remove mutt wrapper
This commit is contained in:
Jörg Thalheim 2019-06-23 14:58:17 +01:00 committed by GitHub
commit 80172aa0a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
'';