stellar-core: add missing compile dependency

enable parallel build
This commit is contained in:
Raymen Scholten 2022-04-07 23:33:31 +02:00
parent 2a4778fae3
commit dd2a308c43

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, autoconf, libtool, automake, pkg-config, git
, bison, flex, postgresql, ripgrep }:
, bison, flex, postgresql, ripgrep, libunwind }:
stdenv.mkDerivation rec {
pname = "stellar-core";
@ -13,10 +13,12 @@ stdenv.mkDerivation rec {
fetchSubmodules = true;
};
nativeBuildInputs = [ automake autoconf git libtool pkg-config ripgrep ];
nativeBuildInputs = [ automake autoconf git libtool pkg-config ripgrep libunwind ];
propagatedBuildInputs = [ bison flex postgresql ];
enableParallelBuilding = true;
preConfigure = ''
# Due to https://github.com/NixOS/nixpkgs/issues/8567 we cannot rely on
# having the .git directory present, so directly provide the version