I'm not familiar with Zig but would it be possible to add an error message? and just out of curiosity (again :D), is there a reason to do an assert instead of say, pick the last one with the same name?
Good point, I should probably change this to an error message, since this is something that could be triggered by a user. Assert was easiest at the time. Should be fixed soon
FYI I got this
when I accidentally left two same plugins in the flake
It seems the error has thrown in https://github.com/NicoElbers/nv/blob/0331a51e9c124f6c6dc1fc3b67d3c015aae25b8d/patcher/src/parsers/InputParser.zig#L31C1-L42C6
I'm not familiar with Zig but would it be possible to add an error message? and just out of curiosity (again :D), is there a reason to do an
assert
instead of say, pick the last one with the same name?thanks