Skip to content

Commit

Permalink
neomutt: put mime.types in $out/etc where it belongs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Nov 16, 2017
1 parent a7daf37 commit 7ce825d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/applications/networking/mailreaders/neomutt/default.nix
Expand Up @@ -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 = [
Expand All @@ -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"
'';

Expand Down

0 comments on commit 7ce825d

Please sign in to comment.