add option nix-bitcoin.pkgs, remove overlay

This works around a nixpkgs bug where overlays are ignored in containers.
This commit is contained in:
Erik Arvstedt 2020-11-09 22:09:09 +01:00
parent b1a5f5e7b9
commit f1681f5b45
No known key found for this signature in database
GPG key ID: 33312B944DD97846
17 changed files with 42 additions and 42 deletions

View file

@ -59,7 +59,7 @@ in {
enable = mkEnableOption "Bitcoin daemon";
package = mkOption {
type = types.package;
default = pkgs.nix-bitcoin.bitcoind;
default = config.nix-bitcoin.pkgs.bitcoind;
defaultText = "pkgs.blockchains.bitcoind";
description = "The package providing bitcoin binaries.";
};