From 2c9bab7ec225b6fa4b18c1248beb224eaec4ad46 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Thu, 12 Sep 2019 16:03:48 +1000 Subject: [PATCH] zcash: Add libsnark to stop build failures Wanted for #68361 zcash build fails due to missing `profiling.hpp` which is provided by `libsnark`. --- pkgs/applications/blockchains/zcash/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/blockchains/zcash/default.nix b/pkgs/applications/blockchains/zcash/default.nix index 6a8fba3c2bb..1852d72d326 100644 --- a/pkgs/applications/blockchains/zcash/default.nix +++ b/pkgs/applications/blockchains/zcash/default.nix @@ -1,6 +1,6 @@ { stdenv, libsodium, fetchFromGitHub, wget, pkgconfig, autoreconfHook, openssl, db62, boost , zlib, gtest, gmock, callPackage, gmp, qt4, utillinux, protobuf, qrencode, libevent -, withGui }: +, libsnark, withGui }: let librustzcash = callPackage ./librustzcash {}; in @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook pkgconfig ]; buildInputs = [ gtest gmock gmp openssl wget db62 boost zlib - protobuf libevent libsodium librustzcash ] + protobuf libevent libsodium librustzcash libsnark ] ++ optionals stdenv.isLinux [ utillinux ] ++ optionals withGui [ qt4 qrencode ];