keyd: tweak substitutes for upstream build changes

This commit is contained in:
alfarel 2024-09-27 10:55:38 -04:00
parent 06ad66b367
commit 4b1c2ab683

View File

@ -47,10 +47,10 @@ stdenv.mkDerivation {
postPatch = ''
substituteInPlace Makefile \
--replace-fail /usr ""
--replace-fail /usr/local ""
substituteInPlace keyd.service \
--replace-fail /usr/bin $out/bin
substituteInPlace keyd.service.in \
--replace-fail @PREFIX@ $out
'';
installFlags = [ "DESTDIR=${placeholder "out"}" ];