pkgx
pkgx copied to clipboard
`Error: Invalid Range Description`
$ docker run -it --rm pkgxdev/pkgx
pkgx/ $ pkgx +llvm.org cargo build
Error: invalid range description
This works on macOS, just not on Linux. The error is thrown in libsemverator but we are passing it something invalid to parse as a semver range.
+clang also does not work. The only way to get it to work is pkgx +llvm.org +rustc -- cargo build, ie. you need to --.
In fact it’s cargo, any variety of eg pkgx +cargo fails with this error. Only on Linux so I suspect it's the linux specific dependencies of llvm.org: * or curl.se: *. Potentially conflicting with the companions of rust-lang.org.
Note this is an issue with pkgx^2 only:
❯ pkgx pkgx@1 cargo --version
cargo 1.87.0
❯ pkgx pkgx@2 cargo --version
Error: invalid range description