From 08a48cee85feb456d95f72b8813916892d9850eb Mon Sep 17 00:00:00 2001 From: Jakob Ankarhem Date: Fri, 23 Oct 2026 16:31:01 +0200 Subject: [PATCH] update redlib --- packages/redlib.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/packages/redlib.nix b/packages/redlib.nix index 6e5074f..d6f050c 100644 --- a/packages/redlib.nix +++ b/packages/redlib.nix @@ -3,26 +3,35 @@ rustPlatform, fetchFromGitHub, perl, + git, + cmake, }: # TODO: Remove this once redlib fixes their annoying issues rustPlatform.buildRustPackage (_: { pname = "redlib"; - version = "0-unstable-a4d36e9"; + version = "0-unstable-ba116c1"; src = fetchFromGitHub { owner = "redlib-org"; repo = "redlib"; - rev = "a4d36e954cf1bd64f209cd8868c5a29edc81b374"; - hash = "sha256-iYH5WeQLitDA6unTJoR0+DYQWmTSQd0WRFfwRYvkVHI="; + rev = "ba116c1186f6b0f9d45f0ae50c827e13eb2f5ea2"; + hash = "sha256-qv7vIls9BwgwDQuKEQU72J10MpaMfcLvIGfzl628eNU="; }; __structuredAttrs = true; - cargoHash = "sha256-/oSZR/VMYyDTA9b48EXll/FC7UwN0xhA9BtQVwrBoMk="; + cargoHash = "sha256-XgHXqH4EF8TEOI+cKJ0Z2j6QYRCwGgv8bmY8gZpPN9c="; doCheck = false; - nativeBuildInputs = [ perl ]; + # btls-sys builds vendored BoringSSL: patches via git, cmake build, bindgen + nativeBuildInputs = [ + perl + git + cmake + rustPlatform.bindgenHook + ]; + dontUseCmakeConfigure = true; meta = { description = "Private front-end for Reddit"; -- 2.54.0