mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
cockroachdb: workaround trimpath build failure
This commit is contained in:
parent
702c242558
commit
87aa3671e8
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue