mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +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
|
||||
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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user