neomutt: put mime.types in $out/etc where it belongs
This commit is contained in:
parent
a7daf37c3e
commit
7ce825d6ab
|
@ -45,7 +45,7 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
# allow neomutt to map attachments to their proper mime.types if specified wrongly
|
# allow neomutt to map attachments to their proper mime.types if specified wrongly
|
||||||
substituteInPlace sendlib.c \
|
substituteInPlace sendlib.c \
|
||||||
--replace /etc/mime.types $out/share/doc/neomutt/mime.types
|
--replace /etc/mime.types $out/etc/mime.types
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
@ -72,6 +72,7 @@ in stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp ${muttWrapper} $out/bin/mutt
|
cp ${muttWrapper} $out/bin/mutt
|
||||||
|
mv $out/share/doc/neomutt/mime.types $out/etc
|
||||||
wrapProgram "$out/bin/neomutt" --prefix PATH : "$out/lib/neomutt"
|
wrapProgram "$out/bin/neomutt" --prefix PATH : "$out/lib/neomutt"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue