Let's keep kde-open5 in default.nix

This commit is contained in:
ilmari-lauhakangas 2021-08-19 19:06:19 +03:00 committed by GitHub
parent a1e6c9b848
commit cc00012c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,8 +8,4 @@ attrs:
(lib.enableFeature kdeIntegration "kf5")
];
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"}
'';
}