Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
We need this to be customized because in the latest GNOME
the desktop file name for evince changed from `evince.desktop` to
`org.gnome.Evince.desktop`.
Additonally we don't have pantheon-mail so we have to switch that
out for geary.
Also note that we're using the desktop specific type
of mimeapps.list[0]. This makes the defaults only apply for the
pantheon desktop.
[0]: https://specifications.freedesktop.org/mime-apps-spec/latest/ar01s02.html
In line with the Nixpkgs manual.
A mechanical change, done with this command:
find pkgs -name "*.nix" | \
while read f; do \
sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
done
I manually skipped some:
* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
Added meta details, changed hash to sha256, and added versions for granite
Changed name to use versions
Fixed license
Yet another typo fix
Added myself as maintainer and fixed typo
Fixed maintainers
Added pantheon terminal
woops