mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-23 05:35:50 +02:00
Define patches, don't add to it
This commit is contained in:
parent
7efb6066ac
commit
68e256c0ce
|
@ -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"}
|
||||
|
|
Loading…
Reference in a new issue