asusctl: fix asus-shutdown service

This commit is contained in:
2026-03-24 16:00:07 +09:00
parent bd4c47d4c2
commit 755eeb67f1
+3
View File
@@ -50,6 +50,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
--replace-fail /usr/bin/asusd $out/bin/asusd \
--replace-fail /bin/sleep ${lib.getExe' coreutils "sleep"}
substituteInPlace data/asus-shutdown.service \
--replace-fail /usr/bin/asus-shutdown $out/bin/asus-shutdown
substituteInPlace Makefile \
--replace-fail /usr/bin/grep ${lib.getExe gnugrep}