commit 5b6952a997058e37eaefd9424b907ed28b5c39b3
parent e57497a6b623ca08f068bf6238f82ef66304a097
Author: Jared Tobin <jared@jtobin.io>
Date: Mon, 20 Apr 2026 16:30:17 +0800
flake: build ppad-tx with LLVM
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/flake.nix b/flake.nix
@@ -78,6 +78,10 @@
[ llvm clang ];
tx = ppad-tx.packages.${system}.default;
+ tx-llvm =
+ hlib.addBuildTools
+ (hlib.enableCabalFlag tx "llvm")
+ [ llvm clang ];
bolt3 = ppad-bolt3.packages.${system}.default;
@@ -85,7 +89,7 @@
ppad-sha256 = sha256-llvm;
ppad-secp256k1 = secp256k1-llvm;
ppad-ripemd160 = ripemd160-llvm;
- ppad-tx = tx;
+ ppad-tx = tx-llvm;
ppad-bolt3 = bolt3;
${lib} = new.callCabal2nix lib ./. { };
});