New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
neomutt: use mime.types from mime_types #31791
Conversation
Maybe we could use Gentoo’s list like Arch does: https://www.archlinux.org/packages/extra/any/mime-types/ |
Also more in favor of using the list from Gentoo :-) |
Ask and you shall receive! Now uses 1b594f0 instead of apache. |
yay! |
The mime.types file shipped with neomutt is pretty basic so we use the one put together by Gentoo from a dedicated mime-types derivation as it vastly improves the handling of attachments.
@GrahamcOfBorg build neomutt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: x86_64-darwin
gzipping man pages under /nix/store/pd7knkwml4ghpqpk3am1i57kml1rj8gm-neomutt-20171027/share/man/
stripping (with flags -S) in /nix/store/pd7knkwml4ghpqpk3am1i57kml1rj8gm-neomutt-20171027/lib /nix/store/pd7knkwml4ghpqpk3am1i57kml1rj8gm-neomutt-20171027/bin
patching script interpreter paths in /nix/store/pd7knkwml4ghpqpk3am1i57kml1rj8gm-neomutt-20171027
/nix/store/pd7knkwml4ghpqpk3am1i57kml1rj8gm-neomutt-20171027/lib/neomutt/smime_keys: interpreter directive changed from " /usr/bin/perl -w" to "/nix/store/34r0w11jh1kgnvdlqnnk5h2vnm0qmnl3-perl-5.24.3/bin/perl -w"
/nix/store/pd7knkwml4ghpqpk3am1i57kml1rj8gm-neomutt-20171027/share/doc/neomutt/keybase/decrypt.sh: interpreter directive changed from "/bin/sh" to "/nix/store/hh833qm6lgb6cgr7z9vxkb72wikr4wwz-bash-4.4-p12/bin/sh"
/nix/store/pd7knkwml4ghpqpk3am1i57kml1rj8gm-neomutt-20171027/share/doc/neomutt/keybase/install.sh: interpreter directive changed from "/bin/sh" to "/nix/store/hh833qm6lgb6cgr7z9vxkb72wikr4wwz-bash-4.4-p12/bin/sh"
/nix/store/pd7knkwml4ghpqpk3am1i57kml1rj8gm-neomutt-20171027/share/doc/neomutt/keybase/pgpdecrypt.sh: interpreter directive changed from "/bin/sh" to "/nix/store/hh833qm6lgb6cgr7z9vxkb72wikr4wwz-bash-4.4-p12/bin/sh"
/nix/store/pd7knkwml4ghpqpk3am1i57kml1rj8gm-neomutt-20171027/share/doc/neomutt/keybase/pgpverify.sh: interpreter directive changed from "/bin/sh" to "/nix/store/hh833qm6lgb6cgr7z9vxkb72wikr4wwz-bash-4.4-p12/bin/sh"
/nix/store/pd7knkwml4ghpqpk3am1i57kml1rj8gm-neomutt-20171027/share/doc/neomutt/keybase/verify.sh: interpreter directive changed from "/bin/sh" to "/nix/store/hh833qm6lgb6cgr7z9vxkb72wikr4wwz-bash-4.4-p12/bin/sh"
/nix/store/pd7knkwml4ghpqpk3am1i57kml1rj8gm-neomutt-20171027
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Success for system: x86_64-linux
stripping (with flags -S) in /nix/store/74mk8l2gbphfxn55nmpj7l4y595mn1ml-neomutt-20171027/lib /nix/store/74mk8l2gbphfxn55nmpj7l4y595mn1ml-neomutt-20171027/bin
patching script interpreter paths in /nix/store/74mk8l2gbphfxn55nmpj7l4y595mn1ml-neomutt-20171027
/nix/store/74mk8l2gbphfxn55nmpj7l4y595mn1ml-neomutt-20171027/share/doc/neomutt/keybase/pgpverify.sh: interpreter directive changed from "/bin/sh" to "/nix/store/4ada72n7785wwazv42fhsnxjvilaa3aj-bash-4.4-p12/bin/sh"
/nix/store/74mk8l2gbphfxn55nmpj7l4y595mn1ml-neomutt-20171027/share/doc/neomutt/keybase/decrypt.sh: interpreter directive changed from "/bin/sh" to "/nix/store/4ada72n7785wwazv42fhsnxjvilaa3aj-bash-4.4-p12/bin/sh"
/nix/store/74mk8l2gbphfxn55nmpj7l4y595mn1ml-neomutt-20171027/share/doc/neomutt/keybase/install.sh: interpreter directive changed from "/bin/sh" to "/nix/store/4ada72n7785wwazv42fhsnxjvilaa3aj-bash-4.4-p12/bin/sh"
/nix/store/74mk8l2gbphfxn55nmpj7l4y595mn1ml-neomutt-20171027/share/doc/neomutt/keybase/pgpdecrypt.sh: interpreter directive changed from "/bin/sh" to "/nix/store/4ada72n7785wwazv42fhsnxjvilaa3aj-bash-4.4-p12/bin/sh"
/nix/store/74mk8l2gbphfxn55nmpj7l4y595mn1ml-neomutt-20171027/share/doc/neomutt/keybase/verify.sh: interpreter directive changed from "/bin/sh" to "/nix/store/4ada72n7785wwazv42fhsnxjvilaa3aj-bash-4.4-p12/bin/sh"
/nix/store/74mk8l2gbphfxn55nmpj7l4y595mn1ml-neomutt-20171027/lib/neomutt/smime_keys: interpreter directive changed from " /usr/bin/perl -w" to "/nix/store/5myxkd61lv6bd6hchk6zln42qikzxqza-perl-5.24.3/bin/perl -w"
checking for references to /tmp/nix-build-neomutt-20171027.drv-0 in /nix/store/74mk8l2gbphfxn55nmpj7l4y595mn1ml-neomutt-20171027...
/nix/store/74mk8l2gbphfxn55nmpj7l4y595mn1ml-neomutt-20171027
Motivation for this change
The mime.types file shipped with neomutt is pretty basic so we use the one from
apache instead as it vastly improves the handling of attachments.
The format is the same, so we simply copy it in place.
Cc: @cstrahan @erikryb @jfrankenau @vrthra
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)