mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-25 10:12:42 +03:00
f30aadbef2
stable's buildRustPackage is painfully slow when evaluating (adds >1 sec even on a fast machine). This is fixed (https://github.com/NixOS/nixpkgs/pull/69274) in unstable.
14 lines
415 B
Nix
14 lines
415 B
Nix
let
|
|
nixpkgsPinned = import ./nixpkgs-pinned.nix;
|
|
unstable = import nixpkgsPinned.nixpkgs-unstable { config = {}; overlays = []; };
|
|
nixBitcoinPkgsUnstable = import ./. { pkgs = unstable; };
|
|
in
|
|
{
|
|
bitcoin = unstable.bitcoin.override { miniupnpc = null; };
|
|
bitcoind = unstable.bitcoind.override { miniupnpc = null; };
|
|
inherit (unstable)
|
|
clightning
|
|
lnd;
|
|
inherit (nixBitcoinPkgsUnstable) electrs;
|
|
}
|