-
I'm trying to make a
With `--show-trace`error: anonymous function at /nix/store/gvnhn3wxc6pbzr67fa4bnqrk6lj78bj6-source/lib/types.nix:533:38 called with unexpected argument 'priority'
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
So this is a bit tough to get to the bottom of from just what you have posted so far, because nothing in the trace comes from any of your local code from what I can see. In cases like this where I am desparate to debug an error that the trace isn't much help with, I either start from a minimal config and start adding sections of code until the error recurs, or if that's too much effort I do the opposite and start commenting out until the error goes away. Wish their was something better to offer, but unless you have more context that may help us nail it down that might be your best bet. Nix definitely needs to improve its debug tooling 😅 |
Beta Was this translation helpful? Give feedback.
So this is a bit tough to get to the bottom of from just what you have posted so far, because nothing in the trace comes from any of your local code from what I can see. In cases like this where I am desparate to debug an error that the trace isn't much help with, I either start from a minimal config and start adding sections of code until the error recurs, or if that's too much effort I do the opposite and start commenting out until the error goes away.
Wish their was something better to offer, but unless you have more context that may help us nail it down that might be your best bet. Nix definitely needs to improve its debug tooling 😅