SpaceFM: (optionally) remove dependency on ifuse due to broken dep

CVEs in libplist prevent ifuse from building (see 30cea5f022)
This commit is contained in:
obadz 2017-02-26 18:27:52 +00:00
parent 8fcd1a063e
commit daaf817924

View File

@ -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";