git.iko.soy/typeable/nixpkgs
on master help sign in
syncthing-inotify: fix building on darwin
commit09465c9f7a978752a7a1be7088059c60e6552bd3 authorIoannis Koutras <ioannis.koutras@gmail.com> dateTue 1 Nov 2016, 14:54 (10 years ago) parent5f60295
1 file changed+2
pkgs/applications/networking/syncthing/inotify.nix+2
pkgs/applications/networking/syncthing/inotify.nix+2
@@ -25,6 +25,8 @@ buildGoPackage rec {
2525 substitute $src/etc/linux-systemd/user/syncthing-inotify.service \
2626 $bin/etc/systemd/user/syncthing-inotify.service \
2727 --replace /usr/bin/syncthing-inotify $bin/bin/syncthing-inotify
28+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
29+ install_name_tool -delete_rpath $out/lib -add_rpath $bin $bin/bin/syncthing-inotify
2830 '';
2931
3032 meta = with stdenv.lib; {