You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
looks like a recent change in unstable NixOS/nixpkgs#386208 broke the devshell/nixago integration
nix build .#x86_64-linux.repo.shells.default
...
… while evaluating derivation 'devshell'
whose name attribute is located at /nix/store/wlhsnrq6g5avc7z21lfivqypaq5fy2wn-source/nix/mkNakedShell.nix:32:11
… while evaluating attribute 'args' of derivation 'devshell'
at /nix/store/wlhsnrq6g5avc7z21lfivqypaq5fy2wn-source/nix/mkNakedShell.nix:40:3:
39| # Bring in the dependencies on `nix-build`
40| args = [
| ^
41| "-ec"
… while evaluating the option `devshell.startup.nixago-setup-hook.text':
… while evaluating definitions from `<unknown-file>':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: cannot coerce a set to a string: { __functionArgs = «thunk»; __functor = «thunk»; }
The text was updated successfully, but these errors were encountered:
korrat
added a commit
to korrat/nixago
that referenced
this issue
Mar 25, 2025
In NixOS/nixpkgs#386208, function arguments are preserved in some
circumstances. This caused issues such as divnix/std#399. Ultimately,
it comes down to the `builtins.isFunction` check, which does not detect
functors.
With this patch, `hook.extra` is coerced to a function unconditionally.
If it is a constant, any arguments are ignored, so behaviour does not
change.
looks like a recent change in unstable NixOS/nixpkgs#386208 broke the devshell/nixago integration
The text was updated successfully, but these errors were encountered: