mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 22:06:00 +03:00
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 \
|
||||
$bin/etc/systemd/user/syncthing-inotify.service \
|
||||
--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; {
|
||||
|
Loading…
Reference in New Issue
Block a user