nix-bitcoin/pkgs/pinned.nix
2020-07-28 15:55:48 +00:00

21 lines
574 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;
inherit (nixBitcoinPkgsUnstable)
electrs
lightning-loop;
stable = nixBitcoinPkgsStable;
unstable = nixBitcoinPkgsUnstable;
}