This change stops update-mime-database from running unless the `share/mime/packages` directory is writable. For some reason it appears to be read-only on WSL1. Fixes #1192
nixfmt