From ff84b1819c64bc9a639d3b834cdcf8a26148ec43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Sun, 19 Mar 2023 12:19:43 +1100 Subject: [PATCH] cln: fix darwin aarch build Use gcc environment explicitly. The library manual does not mention darwin explicitly and recommends only g++ as the compiler. Instead of trying to patch the source to work with clang, just use g++ as expected. --- pkgs/development/libraries/cln/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/cln/default.nix b/pkgs/development/libraries/cln/default.nix index 23bbd84a209..faa6fde2a7e 100644 --- a/pkgs/development/libraries/cln/default.nix +++ b/pkgs/development/libraries/cln/default.nix @@ -1,6 +1,6 @@ -{ lib, stdenv, fetchurl, gmp }: +{ lib, gccStdenv, fetchurl, gmp }: -stdenv.mkDerivation rec { +gccStdenv.mkDerivation rec { pname = "cln"; version = "1.3.6";