mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
maddy: fix binary path substitution in upstream systemd unit
This commit is contained in:
parent
f2a619bcca
commit
31c9a8cf7b
@ -29,11 +29,11 @@ buildGoModule rec {
|
|||||||
mkdir -p $out/lib/systemd/system
|
mkdir -p $out/lib/systemd/system
|
||||||
|
|
||||||
substitute dist/systemd/maddy.service $out/lib/systemd/system/maddy.service \
|
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"
|
--replace "/bin/kill" "${coreutils}/bin/kill"
|
||||||
|
|
||||||
substitute dist/systemd/maddy@.service $out/lib/systemd/system/maddy@.service \
|
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"
|
--replace "/bin/kill" "${coreutils}/bin/kill"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user