Merge #163: Make it easy to use pinned packages

47b2b110cc pinned: make it easy to use pinned packages (William Casarin)

Pull request description:

ACKs for top commit:
  jonasnick:
    ACK 47b2b110cc

Tree-SHA512: 4a45eee55ff87d8f00f7ef7af7bd6dfc4674c492d45a4875dc933edb5d21e06cd1bcedc73b07b8a2b804a4b1fe9d52223e623d382a348524621749beda8cc115
This commit is contained in:
Jonas Nick 2020-04-25 18:55:47 +00:00
commit fa5937624d
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
1 changed files with 8 additions and 3 deletions

View File

@ -1,13 +1,18 @@
let
nixpkgsPinned = import ./nixpkgs-pinned.nix;
unstable = import nixpkgsPinned.nixpkgs-unstable { config = {}; overlays = []; };
nixBitcoinPkgsUnstable = import ./. { pkgs = unstable; };
nixpkgsStable = import nixpkgsPinned.nixpkgs { config = {}; overlays = []; };
nixpkgsUnstable = import nixpkgsPinned.nixpkgs-unstable { config = {}; overlays = []; };
nixBitcoinPkgsStable = import ./. { pkgs = nixpkgsStable; };
nixBitcoinPkgsUnstable = import ./. { pkgs = nixpkgsUnstable; };
in
{
inherit (unstable)
inherit (nixpkgsUnstable)
bitcoin
bitcoind
clightning
lnd;
inherit (nixBitcoinPkgsUnstable) electrs;
stable = nixBitcoinPkgsStable;
unstable = nixBitcoinPkgsUnstable;
}