nix-bitcoin/pkgs/pinned.nix

19 lines
551 B
Nix
Raw Normal View History

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;
stable = nixBitcoinPkgsStable;
unstable = nixBitcoinPkgsUnstable;
}