diff options
author | Ioannis Koutras <ioannis.koutras@gmail.com> | 2016-11-01 14:54:21 +0200 |
---|---|---|
committer | Ioannis Koutras <ioannis.koutras@gmail.com> | 2016-11-01 14:54:21 +0200 |
commit | 09465c9f7a978752a7a1be7088059c60e6552bd3 (patch) | |
tree | f1dd26d7265dd4f9be5683058dcb4c79dcb06688 /pkgs/applications/networking/syncthing | |
parent | 5f60295b029601c1bb4b76df27a53fd9605fa026 (diff) | |
download | nixpkgs-09465c9f7a978752a7a1be7088059c60e6552bd3.tar nixpkgs-09465c9f7a978752a7a1be7088059c60e6552bd3.tar.gz nixpkgs-09465c9f7a978752a7a1be7088059c60e6552bd3.tar.bz2 nixpkgs-09465c9f7a978752a7a1be7088059c60e6552bd3.tar.lz nixpkgs-09465c9f7a978752a7a1be7088059c60e6552bd3.tar.xz nixpkgs-09465c9f7a978752a7a1be7088059c60e6552bd3.tar.zst nixpkgs-09465c9f7a978752a7a1be7088059c60e6552bd3.zip |
syncthing-inotify: fix building on darwin
Diffstat (limited to 'pkgs/applications/networking/syncthing')
-rw-r--r-- | pkgs/applications/networking/syncthing/inotify.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/networking/syncthing/inotify.nix b/pkgs/applications/networking/syncthing/inotify.nix index cf630d42756..8d9a813f961 100644 --- a/pkgs/applications/networking/syncthing/inotify.nix +++ b/pkgs/applications/networking/syncthing/inotify.nix @@ -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; { |