syncthing-inotify: fix building on darwin
This commit is contained in:
parent
5f60295b02
commit
09465c9f7a
@ -25,6 +25,8 @@ buildGoPackage rec {
|
|||||||
substitute $src/etc/linux-systemd/user/syncthing-inotify.service \
|
substitute $src/etc/linux-systemd/user/syncthing-inotify.service \
|
||||||
$bin/etc/systemd/user/syncthing-inotify.service \
|
$bin/etc/systemd/user/syncthing-inotify.service \
|
||||||
--replace /usr/bin/syncthing-inotify $bin/bin/syncthing-inotify
|
--replace /usr/bin/syncthing-inotify $bin/bin/syncthing-inotify
|
||||||
|
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
install_name_tool -delete_rpath $out/lib -add_rpath $bin $bin/bin/syncthing-inotify
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user