diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2017-09-09 00:21:17 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2017-09-09 00:22:45 +0200 |
commit | cc7b771fcfd13a78c858e68c78d58029c01fc2a3 (patch) | |
tree | 1e2bede83aee7c6633615c2b4362053d02355491 /pkgs | |
parent | 25f74ecc8bbb46284db08ce407feb0d77f5180f8 (diff) | |
download | nixlib-cc7b771fcfd13a78c858e68c78d58029c01fc2a3.tar nixlib-cc7b771fcfd13a78c858e68c78d58029c01fc2a3.tar.gz nixlib-cc7b771fcfd13a78c858e68c78d58029c01fc2a3.tar.bz2 nixlib-cc7b771fcfd13a78c858e68c78d58029c01fc2a3.tar.lz nixlib-cc7b771fcfd13a78c858e68c78d58029c01fc2a3.tar.xz nixlib-cc7b771fcfd13a78c858e68c78d58029c01fc2a3.tar.zst nixlib-cc7b771fcfd13a78c858e68c78d58029c01fc2a3.zip |
consul: fix output cycle on darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/consul/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/servers/consul/default.nix b/pkgs/servers/consul/default.nix index 86995f440040..ebc2685c122f 100644 --- a/pkgs/servers/consul/default.nix +++ b/pkgs/servers/consul/default.nix @@ -21,6 +21,10 @@ buildGoPackage rec { buildFlagsArray+=("-ldflags" "-X github.com/hashicorp/consul/version.GitDescribe=v${version} -X github.com/hashicorp/consul/version.Version=${version} -X github.com/hashicorp/consul/version.VersionPrerelease=") ''; + preFixup = stdenv.lib.optionalString stdenv.isDarwin '' + install_name_tool -delete_rpath $out/lib $bin/bin/consul + ''; + meta = with stdenv.lib; { description = "Tool for service discovery, monitoring and configuration"; homepage = https://www.consul.io/; |