about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorobadz <obadz-git@obadz.com>2017-02-26 18:27:52 +0000
committerobadz <obadz-git@obadz.com>2017-02-26 18:29:48 +0000
commitdaaf8179246705fbfbfe47e5aca3d75a57bd4b2f (patch)
treebe7b709042ca84cc7114d3b16f9ffba00c606d5c /pkgs/applications
parent8fcd1a063e2564d0f337a41a7db3cd49f5fb031f (diff)
downloadnixlib-daaf8179246705fbfbfe47e5aca3d75a57bd4b2f.tar
nixlib-daaf8179246705fbfbfe47e5aca3d75a57bd4b2f.tar.gz
nixlib-daaf8179246705fbfbfe47e5aca3d75a57bd4b2f.tar.bz2
nixlib-daaf8179246705fbfbfe47e5aca3d75a57bd4b2f.tar.lz
nixlib-daaf8179246705fbfbfe47e5aca3d75a57bd4b2f.tar.xz
nixlib-daaf8179246705fbfbfe47e5aca3d75a57bd4b2f.tar.zst
nixlib-daaf8179246705fbfbfe47e5aca3d75a57bd4b2f.zip
SpaceFM: (optionally) remove dependency on ifuse due to broken dep
CVEs in libplist prevent ifuse from building (see 30cea5f022)
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/spacefm/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/applications/misc/spacefm/default.nix b/pkgs/applications/misc/spacefm/default.nix
index 74466d667b3c..f4e1eef28363 100644
--- a/pkgs/applications/misc/spacefm/default.nix
+++ b/pkgs/applications/misc/spacefm/default.nix
@@ -1,6 +1,6 @@
 { pkgs, fetchFromGitHub, stdenv, gtk3, udev, desktop_file_utils
 , shared_mime_info, intltool, pkgconfig, wrapGAppsHook, ffmpegthumbnailer
-, jmtpfs, ifuse, lsof, udisks, hicolor_icon_theme, adwaita-icon-theme }:
+, jmtpfs, ifuseSupport ? false, ifuse ? null, lsof, udisks, hicolor_icon_theme, adwaita-icon-theme }:
 
 stdenv.mkDerivation rec {
   name = "spacefm-${version}";
@@ -28,8 +28,10 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     gtk3 udev desktop_file_utils shared_mime_info intltool pkgconfig
-    wrapGAppsHook ffmpegthumbnailer jmtpfs ifuse lsof udisks
-  ];
+    wrapGAppsHook ffmpegthumbnailer jmtpfs lsof udisks
+  ] ++ (if ifuseSupport then [ ifuse ] else []);
+  # Introduced because ifuse doesn't build due to CVEs in libplist
+  # Revert when libplist builds again…
 
   meta = with stdenv.lib;  {
     description = "A multi-panel tabbed file manager";