cockroachdb: workaround trimpath build failure
This commit is contained in:
parent
702c242558
commit
87aa3671e8
|
@ -2,6 +2,7 @@
|
||||||
, cmake, xz, which, autoconf
|
, cmake, xz, which, autoconf
|
||||||
, ncurses6, libedit, libunwind
|
, ncurses6, libedit, libunwind
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
|
, removeReferencesTo, go
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -53,6 +54,12 @@ buildGoPackage rec {
|
||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
|
# fails with `GOFLAGS=-trimpath`
|
||||||
|
allowGoReference = true;
|
||||||
|
preFixup = ''
|
||||||
|
find $out -type f -exec ${removeReferencesTo}/bin/remove-references-to -t ${go} '{}' +
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://www.cockroachlabs.com";
|
homepage = "https://www.cockroachlabs.com";
|
||||||
description = "A scalable, survivable, strongly-consistent SQL database";
|
description = "A scalable, survivable, strongly-consistent SQL database";
|
||||||
|
|
Loading…
Reference in New Issue