Merge pull request #290047 from trofi/nano-wallet-gcc-13-fix
nano-wallet: fix `gcc-13` build failure
This commit is contained in:
commit
7304ab3231
@ -1,4 +1,6 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, wrapQtAppsHook, boost, libGL
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake, pkg-config, wrapQtAppsHook, boost, libGL
|
||||
, qtbase, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -14,6 +16,17 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-YvYEXHC8kxviZLQwINs+pS61wITSfqfrrPmlR+zNRoE=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix gcc-13 build failure due to missing <cstdint> includes.
|
||||
(fetchpatch {
|
||||
name = "gcc-13.patch";
|
||||
url = "https://github.com/facebook/rocksdb/commit/88edfbfb5e1cac228f7cc31fbec24bb637fe54b1.patch";
|
||||
stripLen = 1;
|
||||
extraPrefix = "submodules/rocksdb/";
|
||||
hash = "sha256-HhlIYyPzIZFuyzHTUPz3bXgXiaFSQ8pVrLLMzegjTgE=";
|
||||
})
|
||||
];
|
||||
|
||||
cmakeFlags = let
|
||||
options = {
|
||||
PYTHON_EXECUTABLE = "${python3.interpreter}";
|
||||
|
Loading…
Reference in New Issue
Block a user