clightning: improve build setup

- Simpler
- Allows modifying the configurePhase via `configureFlags`
main
Erik Arvstedt 3 years ago
parent 7c5cadc3ce
commit b7879b343a
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
  1. 6
      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;

Loading…
Cancel
Save