diff options
author | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-02-24 23:12:38 -0500 |
---|---|---|
committer | worldofpeace <worldofpeace@users.noreply.github.com> | 2019-02-24 23:12:38 -0500 |
commit | ee50688119c1842ef93ae91eab8af18c465cabac (patch) | |
tree | 44ae77d130dcca5d3319b764f7050ce2e3dfab4d /pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix | |
parent | ba7eb1536396c91c2169fa8be455d09383181c65 (diff) |
pantheon.elementary-session-settings: use custom mimeapps.list
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
Diffstat (limited to 'pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix')
-rw-r--r-- | pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix b/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix index fddd4143616e1..e12ed98cb46e4 100644 --- a/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix +++ b/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix @@ -66,8 +66,8 @@ stdenv.mkDerivation rec { dontBuild = true; installPhase = '' - mkdir -p $out/share - cp -avr applications $out/share/ + mkdir -p $out/share/applications + cp -av ${./pantheon-mimeapps.list} $out/share/applications/pantheon-mimeapps.list mkdir -p $out/etc/xdg/autostart cp -av ${gnome-keyring}/etc/xdg/autostart/* $out/etc/xdg/autostart |