diff --git a/pkgs/by-name/da/daed/package.nix b/pkgs/by-name/da/daed/package.nix index df772b3334d3..5fcd7389b94d 100644 --- a/pkgs/by-name/da/daed/package.nix +++ b/pkgs/by-name/da/daed/package.nix @@ -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";