diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2024-02-24 21:44:38 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2024-02-25 11:53:16 +0000 |
commit | 8f4e78e85df4d6520edbae8edcf7fd876be10a63 (patch) | |
tree | fa2bec9e953632e219f59ed84270d7dbdbd8fa9a /pkgs/applications/blockchains/ton/default.nix | |
parent | 8db50d6f207f6e6bea072986fe5abfc955f04bfc (diff) |
ton: 2023.10 -> 2024.01
Without the change the build fails on `master` as https://hydra.nixos.org/build/249007752: In file included from /build/source/third-party/rocksdb/table/block_based/data_block_hash_index.cc:9: /build/source/third-party/rocksdb/table/block_based/data_block_hash_index.h:65:7: error: 'uint8_t' does not name a type 65 | const uint8_t kNoEntry = 255; | ^~~~~~~
Diffstat (limited to 'pkgs/applications/blockchains/ton/default.nix')
-rw-r--r-- | pkgs/applications/blockchains/ton/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/applications/blockchains/ton/default.nix b/pkgs/applications/blockchains/ton/default.nix index a65a1428df0e1..0d4d3826b7e7d 100644 --- a/pkgs/applications/blockchains/ton/default.nix +++ b/pkgs/applications/blockchains/ton/default.nix @@ -6,21 +6,23 @@ , pkg-config , gperf , libmicrohttpd +, libsodium , openssl , readline +, secp256k1 , zlib , nix-update-script }: stdenv.mkDerivation rec { pname = "ton"; - version = "2023.10"; + version = "2024.01"; src = fetchFromGitHub { owner = "ton-blockchain"; repo = "ton"; rev = "v${version}"; - sha256 = "sha256-K1RhhW7EvwYV7/ng3NPjSGdHEQvJZ7K97YXd7s5wghc="; + hash = "sha256-nZ7yel+lTNO5zFzN711tLwAvqpf5qaYOxERwApnMVOs="; fetchSubmodules = true; }; @@ -35,14 +37,19 @@ stdenv.mkDerivation rec { buildInputs = [ gperf libmicrohttpd + libsodium openssl readline + secp256k1 zlib ]; passthru.updateScript = nix-update-script { }; meta = with lib; { + # The build fails on darwin as: + # error: aligned allocation function of type 'void *(std::size_t, std::align_val_t)' is only available on macOS 10.13 or newer + broken = stdenv.isDarwin; description = "A fully decentralized layer-1 blockchain designed by Telegram"; homepage = "https://ton.org/"; changelog = "https://github.com/ton-blockchain/ton/blob/v${version}/Changelog.md"; |