forked from mirrors/nixpkgs
consul: fix output cycle on darwin
This commit is contained in:
parent
25f74ecc8b
commit
cc7b771fcf
|
@ -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/;
|
||||
|
|
Loading…
Reference in a new issue