When updating a flake input from nixos 22.11 to 23.11 this error appears
nix develop .#
error:
… while calling the 'derivationStrict' builtin
at /builtin/derivation.nix:9:12: (source not available)
… while evaluating derivation 'nix-shell'
whose name attribute is located at /nix/store/yy19v2dwb8ldphvia9smajvwv3ycx2c1-source/pkgs/stdenv/generic/make-derivation.nix:348:7
… while evaluating attribute 'buildInputs' of derivation 'nix-shell'
at /nix/store/yy19v2dwb8ldphvia9smajvwv3ycx2c1-source/pkgs/stdenv/generic/make-derivation.nix:395:7:
394| depsHostHost = elemAt (elemAt dependencies 1) 0;
395| buildInputs = elemAt (elemAt dependencies 1) 1;
| ^
396| depsTargetTarget = elemAt (elemAt dependencies 2) 0;
(stack trace truncated; use '--show-trace' to show the full trace)
error: function 'anonymous lambda' called with unexpected argument 'auditable'
at /nix/store/rcgf3bz9ip8skmaamgbx3q5np1fcfy2q-source/rust-overlay.nix:294:24:
293| mkProfile = name: profileComponents:
294| makeOverridable ({ extensions, targets, targetExtensions }:
| ^
295| mkAggregated {
How should I go about understanding what the problem is and how to solve it?
I struggle to relate the error message to anything over which I have control. Yes, the flake uses rust-overlay
which is mentioned in the message, but I have no idea what auditable
is. Adding --show-trace
spews lots of information, including that cargo-auditable-0.6.1
is involved, so that is likely to be where ‘auditable’ comes from. But I don’t see how my code is influencing how this is used, so I don’t see what I might be able to do to investigate or fix this.