From 44a260021702786848ba8cac511afe41956bc2cc Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Tue, 20 Oct 2026 20:36:55 +0400 Subject: [PATCH] litecoin: build against the default openssl nixpkgs dropped openssl_3 as end of life, so evaluating litecoin.nix fails after the next input update. The default openssl is 3.5, which the build already works with. Assisted-by: Claude:opus-5-5 --- modules/litecoin-pkg.nix | 2 +- modules/litecoin.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/litecoin-pkg.nix b/modules/litecoin-pkg.nix index 729e047..f062a26 100644 --- a/modules/litecoin-pkg.nix +++ b/modules/litecoin-pkg.nix @@ -10,7 +10,7 @@ # Litecoin Core 0.21.5.5 (MWEB). Revives the package dropped from nixpkgs in # 2024-11 (commit 0367571). Build system is autotools (unlike modern Bitcoin -# Core, which moved to CMake). Still links OpenSSL — built against openssl_3 +# Core, which moved to CMake). Still links OpenSSL — built against openssl 3.5 # here (passed in by litecoin.nix), not the insecure 1.1 the old pin used. mkDerivation rec { pname = "litecoin" + lib.optionalString (!withGui) "d"; diff --git a/modules/litecoin.nix b/modules/litecoin.nix index 1113876..5dfde0b 100644 --- a/modules/litecoin.nix +++ b/modules/litecoin.nix @@ -1,11 +1,11 @@ # Litecoin Core 0.21.5.5 (MWEB) — vendored build, revives the package dropped -# from nixpkgs. Builds against openssl_3 + boost181 (older Boost's autotools +# from nixpkgs. Builds against openssl (3.5) + boost181 (older Boost's autotools # ax_boost macros are needed; Boost 1.89 fails the Boost::System link probe). { config, pkgs, lib, ... }: let litecoin = pkgs.libsForQt5.callPackage ./litecoin-pkg.nix { - openssl = pkgs.openssl_3; + openssl = pkgs.openssl; boost = pkgs.boost181; }; in