@ -7,4 +7,9 @@ attrs:
configureFlags = attrs.configureFlags ++ [
(lib.enableFeature kdeIntegration "kf5")
];
patches = attrs.patches ++ [ ./xdg-open-brief.patch ];
postPatch = attrs.postPatch + ''
substituteInPlace shell/source/unix/exec/shellexec.cxx \
--replace /usr/bin/xdg-open ${if kdeIntegration then "kde-open5" else "xdg-open"}
'';
}