about summary refs log tree commit diff
path: root/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2019-02-24 23:12:38 -0500
committerworldofpeace <worldofpeace@users.noreply.github.com>2019-02-24 23:12:38 -0500
commitee50688119c1842ef93ae91eab8af18c465cabac (patch)
tree44ae77d130dcca5d3319b764f7050ce2e3dfab4d /pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix
parentba7eb1536396c91c2169fa8be455d09383181c65 (diff)
downloadnixlib-ee50688119c1842ef93ae91eab8af18c465cabac.tar
nixlib-ee50688119c1842ef93ae91eab8af18c465cabac.tar.gz
nixlib-ee50688119c1842ef93ae91eab8af18c465cabac.tar.bz2
nixlib-ee50688119c1842ef93ae91eab8af18c465cabac.tar.lz
nixlib-ee50688119c1842ef93ae91eab8af18c465cabac.tar.xz
nixlib-ee50688119c1842ef93ae91eab8af18c465cabac.tar.zst
nixlib-ee50688119c1842ef93ae91eab8af18c465cabac.zip
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.nix4
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 fddd4143616e..e12ed98cb46e 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