clightning: 23.08.1 -> 23.11

Update to the new release of core lightning. The `--disable-developer`
flag got removed on core lightning. Developer builds are now always
enabled and can be toggeled at runtime by starting `lightningd` with the
option `--developer`.

Signed-off-by: Peter Neuroth <pet.v.ne@gmail.com>
This commit is contained in:
Peter Neuroth 2023-11-29 10:56:34 +01:00
parent edfc8acaaf
commit 2e2c8f6fb7
No known key found for this signature in database
GPG Key ID: C3F21EE387FF4CD2

View File

@ -22,11 +22,11 @@ let
in
stdenv.mkDerivation rec {
pname = "clightning";
version = "23.08.1";
version = "23.11";
src = fetchurl {
url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip";
sha256 = "sha256-Pongzgr+VMrp8nrpnR0QCarMWUBPPjTdoebvpWrSy6w=";
sha256 = "sha256:1q1plg9qhwlrcvljnrv8yd1gaz9a98pxgql7bqxjq37vk3lfggw6";
};
# when building on darwin we need dawin.cctools to provide the correct libtool
@ -51,12 +51,17 @@ stdenv.mkDerivation rec {
substituteInPlace external/libwally-core/configure.ac --replace gsed sed
'';
configureFlags = [ "--disable-developer" "--disable-valgrind" ];
configureFlags = [ "--disable-valgrind" ];
makeFlags = [ "VERSION=v${version}" ];
enableParallelBuilding = true;
# workaround for build issue, happens only x86_64-darwin, not aarch64-darwin
# ccan/ccan/fdpass/fdpass.c:16:8: error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant]
# char buf[CMSG_SPACE(sizeof(fd))];
env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) "-Wno-error=gnu-folding-constant";
meta = with lib; {
description = "A Bitcoin Lightning Network implementation in C";
longDescription = ''