XR for Universal Blue and Fedora Atomic Desktops

atomicxr-cli doesn't run with current nu version #11

closed
opened by pelijot.tngl.sh

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?

Full error: Error: nu::parser::unknown_flag

ร— The find command 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 --help for more information.

[deleted by author]

updated to nu 0.108.0 (which should work), but still the same error

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

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

target

None yet.

component

None yet.

Participants 2
AT URI
at://did:plc:wlyk4v5ls6bdhp3ey26gg7j4/sh.tangled.repo.issue/3m4iagvz6w422