summary refs log tree commit diff
path: root/pkgs/desktops/xfce
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-06-10 09:27:04 +0000
committerRobin Gloster <mail@glob.in>2016-06-10 09:27:04 +0000
commit8031cba2ab3146977141fc504bea2a1e03b5c126 (patch)
tree0cd68c0007851dfed7d7f8247754b5c4b356704e /pkgs/desktops/xfce
parent2a5e64b69c83592caf900cb0b7213235e96368de (diff)
parent656c48f141be5886c515a1a874a47472cbbac6bd (diff)
downloadnixpkgs-8031cba2ab3146977141fc504bea2a1e03b5c126.tar
nixpkgs-8031cba2ab3146977141fc504bea2a1e03b5c126.tar.gz
nixpkgs-8031cba2ab3146977141fc504bea2a1e03b5c126.tar.bz2
nixpkgs-8031cba2ab3146977141fc504bea2a1e03b5c126.tar.lz
nixpkgs-8031cba2ab3146977141fc504bea2a1e03b5c126.tar.xz
nixpkgs-8031cba2ab3146977141fc504bea2a1e03b5c126.tar.zst
nixpkgs-8031cba2ab3146977141fc504bea2a1e03b5c126.zip
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
Diffstat (limited to 'pkgs/desktops/xfce')
-rw-r--r--pkgs/desktops/xfce/core/thunar-build.nix6
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
+}