1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

syncthing: use proper output for binaries in services

This commit is contained in:
Ioannis Koutras 2018-12-25 18:45:12 +02:00
parent 82efd22fbc
commit 2fac8b2740

View file

@ -71,11 +71,11 @@ in {
substitute etc/linux-systemd/system/syncthing@.service \
$out/lib/systemd/system/syncthing@.service \
--replace /usr/bin/syncthing $out/bin/syncthing
--replace /usr/bin/syncthing $bin/bin/syncthing
substitute etc/linux-systemd/user/syncthing.service \
$out/lib/systemd/user/syncthing.service \
--replace /usr/bin/syncthing $out/bin/syncthing
--replace /usr/bin/syncthing $bin/bin/syncthing
'';
};
@ -99,7 +99,7 @@ in {
substitute cmd/strelaysrv/etc/linux-systemd/strelaysrv.service \
$out/lib/systemd/system/strelaysrv.service \
--replace /usr/bin/strelaysrv $out/bin/strelaysrv
--replace /usr/bin/strelaysrv $bin/bin/strelaysrv
'';
};
}