remove nix-bitcoin.pkgs.lib

Type ipv4Address is not needed anymore because all services have
separate 'port' and 'address' options.
This commit is contained in:
Erik Arvstedt 2021-01-14 13:24:09 +01:00
parent 09e0042aa8
commit 55073eee70
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
2 changed files with 0 additions and 7 deletions

View File

@ -20,7 +20,5 @@ let self = {
pinned = import ./pinned.nix; pinned = import ./pinned.nix;
lib = import ./lib.nix { inherit (pkgs) lib; };
modulesPkgs = self // self.pinned; modulesPkgs = self // self.pinned;
}; in self }; in self

View File

@ -1,5 +0,0 @@
{ lib }:
{
# An address type that checks that there's no port
ipv4Address = lib.types.addCheck lib.types.str (s: builtins.length (builtins.split ":" s) == 1);
}