daed: add systemd service

This commit is contained in:
bokicoder 2025-06-16 19:17:15 +08:00 committed by wxlyyy
parent c1da900e73
commit 4b5e2c21bd

View File

@ -95,6 +95,12 @@ buildGoModule rec {
runHook postBuild
'';
postInstall = ''
install -Dm444 $src/install/daed.service -t $out/lib/systemd/system
substituteInPlace $out/lib/systemd/system/daed.service \
--replace-fail /usr/bin $out/bin
'';
passthru.updateScript = _experimental-update-script-combinators.sequence [
(nix-update-script {
attrPath = "daed.web";