daed: add systemd service (#417217)

This commit is contained in:
Aleksana 2025-06-20 17:59:20 +08:00 committed by GitHub
commit 19359fcb8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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";