From 745835010899aac6518a32dceaeace368ed2b327 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Mon, 1 Feb 2021 22:53:16 +0100 Subject: [PATCH] treewide: remove deprecated types.loaOf --- modules/bitcoind.nix | 2 +- modules/liquid.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bitcoind.nix b/modules/bitcoind.nix index ddf47a7..fe8e9d3 100644 --- a/modules/bitcoind.nix +++ b/modules/bitcoind.nix @@ -138,7 +138,7 @@ in { alice.passwordHMAC = "f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae"; bob.passwordHMAC = "b2dd077cb54591a2f3139e69a897ac$4e71f08d48b4347cf8eff3815c0e25ae2e9a4340474079f55705f40574f4ec99"; }; - type = with types; loaOf (submodule ({ name, ... }: { + type = with types; attrsOf (submodule ({ name, ... }: { options = { name = mkOption { type = types.str; diff --git a/modules/liquid.nix b/modules/liquid.nix index 7faf57d..d49b08f 100644 --- a/modules/liquid.nix +++ b/modules/liquid.nix @@ -122,7 +122,7 @@ in { alice.passwordHMAC = "f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae"; bob.passwordHMAC = "b2dd077cb54591a2f3139e69a897ac$4e71f08d48b4347cf8eff3815c0e25ae2e9a4340474079f55705f40574f4ec99"; }; - type = with types; loaOf (submodule rpcUserOpts); + type = with types; attrsOf (submodule rpcUserOpts); description = '' RPC user information for JSON-RPC connections. '';