Skip to content

Commit 4b5e2c2

Browse files
committed
daed: add systemd service
1 parent c1da900 commit 4b5e2c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/by-name/da/daed/package.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ buildGoModule rec {
9595
runHook postBuild
9696
'';
9797

98+
postInstall = ''
99+
install -Dm444 $src/install/daed.service -t $out/lib/systemd/system
100+
substituteInPlace $out/lib/systemd/system/daed.service \
101+
--replace-fail /usr/bin $out/bin
102+
'';
103+
98104
passthru.updateScript = _experimental-update-script-combinators.sequence [
99105
(nix-update-script {
100106
attrPath = "daed.web";

0 commit comments

Comments
 (0)