mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
cockroachdb: enable build on darwin
(cherry picked from commit cf84d2ff78)
This commit is contained in:
committed by
Daiderd Jordan
parent
91375ce951
commit
48cde0180d
@@ -34,11 +34,15 @@ buildGoPackage rec {
|
||||
mv cockroach.bash $out/share/bash-completion/completions
|
||||
'';
|
||||
|
||||
preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -delete_rpath $out/lib $bin/bin/cockroach
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.cockroachlabs.com;
|
||||
description = "A scalable, survivable, strongly-consistent SQL database";
|
||||
license = licenses.asl20;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
platforms = [ "x86_64-linux" "x86_64-darwin" ];
|
||||
maintainers = [ maintainers.rushmorem ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user