mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
cockroachdb: workaround trimpath build failure
This commit is contained in:
parent
702c242558
commit
87aa3671e8
@ -2,6 +2,7 @@
|
||||
, cmake, xz, which, autoconf
|
||||
, ncurses6, libedit, libunwind
|
||||
, installShellFiles
|
||||
, removeReferencesTo, go
|
||||
}:
|
||||
|
||||
let
|
||||
@ -53,6 +54,12 @@ buildGoPackage rec {
|
||||
|
||||
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; {
|
||||
homepage = "https://www.cockroachlabs.com";
|
||||
description = "A scalable, survivable, strongly-consistent SQL database";
|
||||
|
Loading…
Reference in New Issue
Block a user