Skip to content

Conversation

@michaelBelsanti
Copy link
Contributor

Currently, running nix with any value Nushell doesn't parse as a string, such as an integer, float, or boolean, will cause an error, because _nix_your_shell expects only a list of strings.

Error: nu::shell::cant_convert

  × Can't convert to list<string>.
    ╭─[/nix/store/g6kcdm7nshmpljh6cfg6nrmkfs178hwj-nix-your-shell-nushell-config.nu:18:23]
 17 │ def --wrapped nix (...args) {
 18 │   _nix_your_shell nix $args
    ·                       ──┬──
    ·                         ╰── can't convert list<any> to list<string>
 19 │ }
    ╰────

@github-actions github-actions bot added the patch A patch-level change (backwards-compatible bug fixes) label Jun 2, 2025
@9999years 9999years merged commit b6e2fe0 into MercuryTechnologies:main Oct 28, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch A patch-level change (backwards-compatible bug fixes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants