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
17 changed files with 42 additions and 42 deletions

View File

@@ -56,7 +56,7 @@ in {
description = "The network data directory.";
};
listen = mkOption {
type = pkgs.nix-bitcoin.lib.ipv4Address;
type = config.nix-bitcoin.pkgs.lib.ipv4Address;
default = "localhost";
description = "Bind to given address to listen to peer connections";
};
@@ -130,8 +130,7 @@ in {
};
package = mkOption {
type = types.package;
default = pkgs.nix-bitcoin.lnd;
defaultText = "pkgs.nix-bitcoin.lnd";
default = config.nix-bitcoin.pkgs.lnd;
description = "The package providing lnd binaries.";
};
cli = mkOption {