In my NixOS test I'm trying to setup the private testnet node.
{inputs, pkgs, ...}:
{
name = "NixOS test";
nodes = {
node = {
imports = [
inputs.cardano-nix.nixosModules.private-testnet-node
];
cardano = {
private-testnet-node.enable = true;
};
};
};
testScript = ''
start_all()
node.wait_for_unit("cardano-node.service")
'';
}
However I keep getting
error: The option `interactive.nodes.node.nixpkgs.overlays' is defined multiple times while it's expected to be unique.
nixpkgs.overlays is set to read-only
Definition values:
- In `/nix/store/jqxk652ln98g0glsymaxqmlsrfns1whi-source/modules/private-testnet-node.nix':
[
<function>
]
- In `/nix/store/dzwwydggypqg4p8r6if5zdaqyzhsxjkd-source/nixos/modules/misc/nixpkgs/read-only.nix':
[
<function>
<function>
<function>
<function>
...
Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions.