diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2024-02-23 22:12:00 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2024-02-23 22:12:00 +0000 |
commit | 51bac09a7c2688cfd4d31f4703af6149555a1fe3 (patch) | |
tree | 4d3d689a8d27f8db3dcaef165698a464b897bd77 /pkgs/applications/blockchains | |
parent | 7f81b2dee02b8337dc58fd0edb93eefd67e518b0 (diff) | |
download | nixlib-51bac09a7c2688cfd4d31f4703af6149555a1fe3.tar nixlib-51bac09a7c2688cfd4d31f4703af6149555a1fe3.tar.gz nixlib-51bac09a7c2688cfd4d31f4703af6149555a1fe3.tar.bz2 nixlib-51bac09a7c2688cfd4d31f4703af6149555a1fe3.tar.lz nixlib-51bac09a7c2688cfd4d31f4703af6149555a1fe3.tar.xz nixlib-51bac09a7c2688cfd4d31f4703af6149555a1fe3.tar.zst nixlib-51bac09a7c2688cfd4d31f4703af6149555a1fe3.zip |
wownero: fix `gcc-13` build
Without the change build fail on `master` as https://hydra.nixos.org/build/248981684: /build/source/contrib/epee/include/storages/parserse_base_utils.h:46:28: error: 'uint8_t' does not name a type 46 | static const constexpr uint8_t lut[256]={ | ^~~~~~~
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/wownero/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/wownero/default.nix b/pkgs/applications/blockchains/wownero/default.nix index 665607e2ee7d..82b6d1215361 100644 --- a/pkgs/applications/blockchains/wownero/default.nix +++ b/pkgs/applications/blockchains/wownero/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , cmake , boost , libsodium @@ -45,6 +46,15 @@ stdenv.mkDerivation rec { hash = "sha256-zmGsSbPpVwL0AhCQkdMKORruM5kYrrLe/BYfMphph8c="; }; + patches = [ + # Fix gcc-13 build due to missing <cstdint> neaders + (fetchpatch { + name = "gcc-13.patch"; + url = "https://git.wownero.com/wownero/wownero/commit/f983ac77805a494ea4a05a00398c553e1359aefd.patch"; + hash = "sha256-9acQ4bHAKFR+lMgrpQyBmb+9YZYi1ywHoo1jBcIgmGs="; + }) + ]; + nativeBuildInputs = [ cmake ]; |