XR for Universal Blue and Fedora Atomic Desktops
vr fedora-atomic linux
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

open 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.

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

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

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