From b7879b343a63745c00cb8f53b4a9369d1d4afdc9 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Thu, 18 Nov 2021 18:43:16 +0100 Subject: [PATCH] clightning: improve build setup - Simpler - Allows modifying the configurePhase via `configureFlags` --- pkgs/applications/blockchains/clightning/default.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/blockchains/clightning/default.nix b/pkgs/applications/blockchains/clightning/default.nix index 04f3c1fcbc84..df7eace3284d 100644 --- a/pkgs/applications/blockchains/clightning/default.nix +++ b/pkgs/applications/blockchains/clightning/default.nix @@ -39,11 +39,9 @@ stdenv.mkDerivation rec { devtools/sql-rewrite.py ''; - configurePhase = '' - ./configure --prefix=$out --disable-developer --disable-valgrind - ''; + configureFlags = [ "--disable-developer" "--disable-valgrind" ]; - makeFlags = [ "prefix=$(out) VERSION=v${version}" ]; + makeFlags = [ "VERSION=v${version}" ]; enableParallelBuilding = true;