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:09:50 +01:00
parent 5c6571654e
commit f30aadbef2
2 changed files with 9 additions and 2 deletions
+2
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;
}