ledger: fix build with boost 1.86
This commit is contained in:
committed by
Florian Klink
parent
bc9cb18b99
commit
a4cfa02a40
@@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, cmake, boost, gmp, mpfr, libedit, python3, gpgme
|
||||
{ stdenv, lib, fetchFromGitHub, fetchpatch2, cmake, boost, gmp, mpfr, libedit, python3, gpgme
|
||||
, installShellFiles, texinfo, gnused, usePython ? false, gpgmeSupport ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -12,6 +12,29 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-Uym4s8EyzXHlISZqThcb6P1H5bdgD9vmdIOLkk5ikG0=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
name = "ledger-boost-1.85-compat.patch";
|
||||
url = "https://github.com/ledger/ledger/commit/46207852174feb5c76c7ab894bc13b4f388bf501.patch";
|
||||
hash = "sha256-X0NSN60sEFLvcfMmtVoxC7fidcr5tJUlFVQ/E8qfLss=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
name = "ledger-boost-1.86-compat-1.patch";
|
||||
url = "https://github.com/ledger/ledger/commit/f6750ed89b46926d1f0859f3b25d18ed62ac219e.patch";
|
||||
hash = "sha256-pktwotuMbZcR2DpZccMqV13524avKvazDX/+Ki6h69g=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
name = "ledger-boost-1.86-compat-2.patch";
|
||||
url = "https://github.com/ledger/ledger/commit/62f626fa73bd6832028f43c204c43cf15bd5f409.patch";
|
||||
hash = "sha256-cazhSxadNpiA6ofZxS8JALOPy88cNPM/jKHaUYk8pBw=";
|
||||
})
|
||||
(fetchpatch2 {
|
||||
name = "ledger-boost-1.86-compat-3.patch";
|
||||
url = "https://github.com/ledger/ledger/commit/124398c35be573324cf2384c08b99b4476f29e2b.patch";
|
||||
hash = "sha256-N3dUrqNsOiVgedoYmyfYllK+4lvKdMxc8iq0+DgEbxc=";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" ] ++ lib.optionals usePython [ "py" ];
|
||||
|
||||
buildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user