When running axr it throws an error for wrong syntax (specifically find -n in _debug.nu:38:25). I'm on 0.101.0. Should I use a different nushell version?
XR for Universal Blue and Fedora Atomic Desktops
atomicxr-cli doesn't run with current nu version #11
closed
opened by
Found the issue (it's honestly quite stupid): The #!/usr/bin/env nu in the script defaults back to the homebrew version (which is outdated). This way I can't run it with the version I installed seperately
Oh, that's interesting. Nushell is updated to version 0.108.0 in homebrew/core, and AtomicXR should work with any version above 0.106.0. Could you try reinstalling it after running brew update?
[deleted by author]
btw, if you want your own version of nu to be picked up instead of Homebrew's, it just needs to be listed first in your PATH
Full error: Error: nu::parser::unknown_flag
ร The
findcommand doesn't have flag-n. โญโ[/var/home/linuxbrew/.linuxbrew/Cellar/atomicxr-cli/2.4.0/share/atomic-xr/lib/atomic-xr/_debug.nu:38:25] 37 โ brew list --full-name 38 โ | find -n matrixfurry.com/atomicxr/ ยท โฌ ยท โฐโโ unknown flag 39 โ | each {|| brew info --json $in | from json} โฐโโโโ help: Available flags: --help(-h), --regex(-r), --ignore-case(-i), --multiline(-m), --dotall(-s), --columns(-c), --invert(-v). Use--helpfor more information.