mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
Merge pull request #141734 from NickCao/maddy
maddy: fix binary path substitution in upstream systemd unit
This commit is contained in:
commit
a613697d6e
@ -29,11 +29,11 @@ buildGoModule rec {
|
||||
mkdir -p $out/lib/systemd/system
|
||||
|
||||
substitute dist/systemd/maddy.service $out/lib/systemd/system/maddy.service \
|
||||
--replace "/usr/bin/maddy" "$out/bin/maddy" \
|
||||
--replace "/usr/local/bin/maddy" "$out/bin/maddy" \
|
||||
--replace "/bin/kill" "${coreutils}/bin/kill"
|
||||
|
||||
substitute dist/systemd/maddy@.service $out/lib/systemd/system/maddy@.service \
|
||||
--replace "/usr/bin/maddy" "$out/bin/maddy" \
|
||||
--replace "/usr/local/bin/maddy" "$out/bin/maddy" \
|
||||
--replace "/bin/kill" "${coreutils}/bin/kill"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user