nix-bitcoin/pkgs/pinned.nix
Erik Arvstedt 05e5ec99ec
modules packages: build electrs, lightning-loop with nixpkgs stable
Building with nixBitcoinPkgsUnstable was only a temporary measure to
fix build errors on stable.
2021-01-30 11:38:47 +01:00

20 lines
538 B
Nix

let
nixpkgsPinned = import ./nixpkgs-pinned.nix;
nixpkgsStable = import nixpkgsPinned.nixpkgs { config = {}; overlays = []; };
nixpkgsUnstable = import nixpkgsPinned.nixpkgs-unstable { config = {}; overlays = []; };
nixBitcoinPkgsStable = import ./. { pkgs = nixpkgsStable; };
nixBitcoinPkgsUnstable = import ./. { pkgs = nixpkgsUnstable; };
in
{
inherit (nixpkgsUnstable)
bitcoin
bitcoind
clightning
lnd
nbxplorer
btcpayserver;
stable = nixBitcoinPkgsStable;
unstable = nixBitcoinPkgsUnstable;
}