mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-27 02:12:45 +03:00
b758150c9e
This allows accessing the pinned nixpkgs. E.g., this is useful for comparing package versions between stable and unstable.
29 lines
682 B
Nix
29 lines
682 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
|
|
charge-lnd
|
|
clightning
|
|
lnd
|
|
lndconnect
|
|
nbxplorer
|
|
btcpayserver
|
|
electrs
|
|
elementsd
|
|
hwi
|
|
lightning-loop
|
|
lightning-pool;
|
|
|
|
inherit nixpkgsStable nixpkgsUnstable;
|
|
|
|
stable = nixBitcoinPkgsStable;
|
|
unstable = nixBitcoinPkgsUnstable;
|
|
}
|