From dd2a308c4331580635b3500dbc4c2a1b834f3712 Mon Sep 17 00:00:00 2001 From: Raymen Scholten Date: Thu, 7 Apr 2022 23:33:31 +0200 Subject: [PATCH] stellar-core: add missing compile dependency enable parallel build --- pkgs/applications/blockchains/stellar-core/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/stellar-core/default.nix b/pkgs/applications/blockchains/stellar-core/default.nix index b689ddd4f4db..10cc5622566e 100644 --- a/pkgs/applications/blockchains/stellar-core/default.nix +++ b/pkgs/applications/blockchains/stellar-core/default.nix @@ -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