From 7ce825d6abc74ba32d7f55dca41a414197046d4a Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Thu, 16 Nov 2017 12:15:14 +0800 Subject: [PATCH] neomutt: put mime.types in $out/etc where it belongs --- pkgs/applications/networking/mailreaders/neomutt/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/mailreaders/neomutt/default.nix b/pkgs/applications/networking/mailreaders/neomutt/default.nix index 610003ec96b..e0e2a42c4b5 100644 --- a/pkgs/applications/networking/mailreaders/neomutt/default.nix +++ b/pkgs/applications/networking/mailreaders/neomutt/default.nix @@ -45,7 +45,7 @@ in stdenv.mkDerivation rec { # allow neomutt to map attachments to their proper mime.types if specified wrongly substituteInPlace sendlib.c \ - --replace /etc/mime.types $out/share/doc/neomutt/mime.types + --replace /etc/mime.types $out/etc/mime.types ''; configureFlags = [ @@ -72,6 +72,7 @@ in stdenv.mkDerivation rec { postInstall = '' cp ${muttWrapper} $out/bin/mutt + mv $out/share/doc/neomutt/mime.types $out/etc wrapProgram "$out/bin/neomutt" --prefix PATH : "$out/lib/neomutt" '';