Define patches, don't add to it

This commit is contained in:
ilmari-lauhakangas 2021-08-19 12:08:09 +03:00 committed by GitHub
parent 7efb6066ac
commit 68e256c0ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ attrs:
configureFlags = attrs.configureFlags ++ [
(lib.enableFeature kdeIntegration "kf5")
];
patches = attrs.patches ++ [ ./xdg-open-brief.patch ];
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"}