diff options
author | obadz <obadz-git@obadz.com> | 2016-05-30 00:10:28 +0100 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2016-06-09 12:10:15 +0100 |
commit | 31f4a9b5590fdef5412f13e16888d2fa94f6f5f7 (patch) | |
tree | 840089bca024d7f80fa7b70dc867ec333d5b21dd /pkgs/desktops/xfce/core/thunar-build.nix | |
parent | cc174b3d556945eff999efe44ab18dd7b3e99f76 (diff) | |
download | nixpkgs-31f4a9b5590fdef5412f13e16888d2fa94f6f5f7.tar nixpkgs-31f4a9b5590fdef5412f13e16888d2fa94f6f5f7.tar.gz nixpkgs-31f4a9b5590fdef5412f13e16888d2fa94f6f5f7.tar.bz2 nixpkgs-31f4a9b5590fdef5412f13e16888d2fa94f6f5f7.tar.lz nixpkgs-31f4a9b5590fdef5412f13e16888d2fa94f6f5f7.tar.xz nixpkgs-31f4a9b5590fdef5412f13e16888d2fa94f6f5f7.tar.zst nixpkgs-31f4a9b5590fdef5412f13e16888d2fa94f6f5f7.zip |
xfce.thunar: patch to avoid error
«the desktop file … is in an insecure location» which pops up when invoking desktop files that are symlinks to the /nix/store this error was added by this commit: https://github.com/xfce-mirror/thunar/commit/1ec8ff89ec5a3314fcd6a57f1475654ddecc9875 «Only allow direct execution of desktop files in an XDG directory and if they are executable.»
Diffstat (limited to 'pkgs/desktops/xfce/core/thunar-build.nix')
-rw-r--r-- | pkgs/desktops/xfce/core/thunar-build.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/desktops/xfce/core/thunar-build.nix b/pkgs/desktops/xfce/core/thunar-build.nix index 7a69295d34d..a68686219ba 100644 --- a/pkgs/desktops/xfce/core/thunar-build.nix +++ b/pkgs/desktops/xfce/core/thunar-build.nix @@ -17,6 +17,10 @@ stdenv.mkDerivation rec { patches = [ ./thunarx_plugins_directory.patch ]; + postPatch = '' + sed -i -e 's|thunar_dialogs_show_insecure_program (parent, _(".*"), file, exec)|1|' thunar/thunar-file.c + ''; + buildInputs = [ pkgconfig intltool gtk dbus_glib libstartup_notification libnotify libexif pcre udev @@ -35,4 +39,4 @@ stdenv.mkDerivation rec { platforms = stdenv.lib.platforms.linux; maintainers = [ stdenv.lib.maintainers.eelco ]; }; -} \ No newline at end of file +} |