I'm currently using NixOS and have added your repository as a flake input to my system configuration.
When attempting to generate an IP with the latest nixos-unstable, the following error is generated:
$ ipgen --network 192.168.2.0/24 abc
[BUG] failed to parse the generated IP address `c0a8:26b` as IPv4
Relevant parts of flake.lock:
{ "nodes": { "ipgen-cli": { "inputs": { "advisory-db": "advisory-db", "crane": "crane", "fenix": "fenix", "flake-utils": "flake-utils_2", "nixpkgs": [ "nixpkgs" ] }, "locked": { "lastModified": 1690218106, "narHash": "sha256-99E2qNFO5lcoPIG2VEuyIX6hShtkcGfjocAh+GQWh0w=", "owner": "ipgen", "repo": "cli", "rev": "5ebcfbf55af88f10352dfa844e14a05792309a7d", "type": "github" }, "original": { "owner": "ipgen", "repo": "cli", "type": "github" } }, // ... "nixpkgs": { "locked": { "lastModified": 1751984180, "narHash": "sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X+xgOL0=", "owner": "NixOS", "repo": "nixpkgs", "rev": "9807714d6944a957c2e036f84b0ff8caf9930bc0", "type": "github" }, "original": { "owner": "NixOS", "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } }, // ... } }