electrs: enable unstable build, pin pkg to unstable

stable's buildRustPackage is painfully slow when evaluating (adds >1 sec
even on a fast machine).

This is fixed (https://github.com/NixOS/nixpkgs/pull/69274) in unstable.
This commit is contained in:
Erik Arvstedt 2020-03-04 18:08:56 +01:00
parent 5c6571654e
commit f30aadbef2
No known key found for this signature in database
GPG key ID: 33312B944DD97846
2 changed files with 9 additions and 2 deletions

View file

@ -1,6 +1,7 @@
let
nixpkgsPinned = import ./nixpkgs-pinned.nix;
unstable = import nixpkgsPinned.nixpkgs-unstable { config = {}; overlays = []; };
nixBitcoinPkgsUnstable = import ./. { pkgs = unstable; };
in
{
bitcoin = unstable.bitcoin.override { miniupnpc = null; };
@ -8,4 +9,5 @@ in
inherit (unstable)
clightning
lnd;
inherit (nixBitcoinPkgsUnstable) electrs;
}