mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-02 10:14:09 +00:00
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:
parent
edfc8acaaf
commit
2e2c8f6fb7
@ -22,11 +22,11 @@ let
|
|||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "clightning";
|
pname = "clightning";
|
||||||
version = "23.08.1";
|
version = "23.11";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip";
|
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
|
# 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
|
substituteInPlace external/libwally-core/configure.ac --replace gsed sed
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--disable-developer" "--disable-valgrind" ];
|
configureFlags = [ "--disable-valgrind" ];
|
||||||
|
|
||||||
makeFlags = [ "VERSION=v${version}" ];
|
makeFlags = [ "VERSION=v${version}" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
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; {
|
meta = with lib; {
|
||||||
description = "A Bitcoin Lightning Network implementation in C";
|
description = "A Bitcoin Lightning Network implementation in C";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user