This package now is built using the official Nim binary distribution for x86_64, so no previous Nim installation is needed to bootstrap.
Search Criteria
Package Details: choosenim 0.8.10-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/choosenim.git (read-only, click to copy) |
---|---|
Package Base: | choosenim |
Description: | Installs different versions of Nim compiler and tools and switches between them |
Upstream URL: | https://github.com/nim-lang/choosenim |
Keywords: | nim |
Licenses: | BSD-3-Clause |
Conflicts: | nim |
Provides: | nim, nimble, nimgrep, nimpretty, nimsuggest |
Submitter: | 0x647262 |
Maintainer: | SpotlightKid |
Last Packager: | SpotlightKid |
Votes: | 10 |
Popularity: | 0.147664 |
First Submitted: | 2019-05-15 05:11 (UTC) |
Last Updated: | 2024-11-05 13:07 (UTC) |
Dependencies (5)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- git (git-gitAUR, git-glAUR) (make)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR) (optional) – C/C++ backend
- gcc (gcc-gitAUR, gccrs-gitAUR, gcc11AUR, gcc-snapshotAUR) (optional) – C/C++ backend
Required by (77)
- bestfetch (requires nim) (make)
- bestfetch-git (requires nim) (make)
- boomer-git (requires nimble) (make)
- c2nim (requires nim) (make)
- c2nim (requires nim) (optional)
- c2nim (requires nimble) (make)
- c2nim-git (requires nim) (optional)
- c2nim-git (make)
- catnap-git (requires nim) (make)
- chawan-git (requires nim) (make)
- clonk-git (requires nimble) (make)
- clonk-git (requires nim) (make)
- dmusic (requires nim) (make)
- firefox-tridactyl-native (requires nimble) (make)
- firefox-tridactyl-native (requires nim) (make)
- gnunet-groupchat-git (requires nimble) (make)
- gnunet-groupchat-git (requires nim) (make)
- goldie-git (requires nimble) (make)
- goldie-git (requires nim) (make)
- gridmonger-git (requires nim) (make)
- happyx (make)
- happyx-git (make)
- inim-git (requires nim) (make)
- inim-git (requires nimble) (make)
- kaiso (requires nim) (make)
- lq-git (requires nimble) (make)
- lq-git (requires nim) (make)
- meow-git (requires nim) (make)
- moe-nim (requires nimble) (make)
- moe-nim (requires nim) (make)
- mosdepth (requires nim) (make)
- mpcreator-git (requires nim) (make)
- muwrap-git (requires nim) (make)
- nemini-git (requires nim) (make)
- nemini-git (requires nimble) (make)
- nfetch-git (requires nimble) (make)
- nimdow (make)
- nimdow-git (requires nim) (make)
- nimlangserver-git (requires nim)
- nitch (requires nim) (make)
- nitch-git (requires nim) (make)
- nitter-git (requires nimble) (make)
- nitter-git (requires nim) (make)
- pacclean-git (requires nim) (make)
- pakku (requires nim) (make)
- pakku-git (requires nim) (make)
- pax-mc (requires nimble) (make)
- pax-mc (requires nim) (make)
- pax-mc-git (requires nim) (make)
- pax-mc-git (requires nimble) (make)
- pmm-git (requires nim) (make)
- pmm-git (requires nimble) (make)
- powershell-empire (requires nim) (optional)
- powershell-empire-git (requires nim) (optional)
- projman (requires nim) (make)
- rumsfeld-git (requires nim) (make)
- rumsfeld-git (requires nimble) (make)
- serial2tcp (requires nim) (make)
- serial2tcp (requires nimble) (make)
- taskopen (requires nim) (make)
- taskopen-git (requires nim) (make)
- tetronimia (requires nim) (make)
- ttop (requires nim) (make)
- victor (requires nimble) (make)
- vim_cubed-git (requires nim) (make)
- vim_cubed-git (requires nimble) (make)
- vitable (requires nim) (make)
- vitable (requires nim)
- vitable (requires nimble)
- wait_ex-git (requires nim) (make)
- worm (requires nimble) (make)
- worm (requires nim) (make)
- worm-git (requires nim) (make)
- worm-git (requires nimble) (make)
- wpspin (requires nim) (make)
- wpspin (requires nimble) (make)
- ytbgmplayer-git (requires nim) (make)
Sources (3)
SpotlightKid commented on 2024-09-22 08:57 (UTC)
SpotlightKid commented on 2024-09-19 10:33 (UTC) (edited on 2024-09-19 10:34 (UTC) by SpotlightKid)
No, they have to be added to the Arch Nim installation. That's a task for the extra/nim
package maintainer. I'm in the process of putting together a summary of the problems with the package and filing an issue.
xiota commented on 2024-09-19 10:30 (UTC)
Thanks for follow up. Any chance those could be added to this package? Otherwise, it doesn't work in clean chroot.
SpotlightKid commented on 2024-09-19 10:15 (UTC) (edited on 2024-09-19 10:21 (UTC) by SpotlightKid)
@xiota: sorry, I thought I had tested this, but I still had Nim 2.0.8 installed by choosenim in my ~/.nimble/bin
dir, which I have in the $PATH
.
TL;DR: Arch nim package is broken, use https://nim-lang.org/install_unix.html or curl https://nim-lang.org/choosenim/init.sh -sSf | sh
to bootstrap the Nim installation for your user and then build and use this package for further updates.
I now tested with extra/nim
== 2.0.8-1 and can reproduce the error. Unfortunately, the Arch nim package is broken in several ways. For one, it is missing all the files in the dist
directory the official Nim binary distribution contains and installs in the <prefix>
/lib/nim` directory. Another problem (which doesn't affect us here, though, I think) is that several nim tools assume that some library files live next to the binaries, which isn't the case in an Arch Linux install, which tries to follow FHS.
Some of these issues have been reported here:
https://gitlab.archlinux.org/archlinux/packaging/packages/nim/-/issues
Some have been reported upstream or are being discussed on the Nim forum, e.g. here:
https://forum.nim-lang.org/t/11723
Unfortunately, the upstream maintainer isn't very sympathetic towards these reports and the underlying issues are getting fixed only very slowly, if at all.
I'll investigate whether it makes sense and is feasible to download a Nim binary build to build this package. I also will try to get the choosenim-bin
package updated.
SpotlightKid commented on 2024-09-18 22:52 (UTC) (edited on 2024-09-18 22:58 (UTC) by SpotlightKid)
@xiota: works here. which version of Nim are you using to build?
Maybe related?: https://forum.nim-lang.org/t/12465#76824
So, if you use the Nim devel
channel, i.e. used choosenim devel
, make sure you update with choosenim update devel
.
xiota commented on 2024-09-18 22:41 (UTC) (edited on 2024-09-19 10:28 (UTC) by xiota)
Fails to build. Problem seems to be with extra/nim
2.0.8-1, removal of dist module without updating references?
Installing nimble@0.14.2
Building nimble/nimble using c backend
/usr/lib/nim/compiler/nimblecmd.nim(18, 39) Error: cannot open file: ../dist/checksums/src/checksums/sha1
Edit: Add version info.
SpotlightKid commented on 2024-08-21 13:35 (UTC)
@Indiscipline: now that nim-lang.org has released version 0.8.5 I think it is indeed time to switch. An announcement is still missing, though, and I just posted on the Nim forum about that.
Indiscipline commented on 2024-08-21 12:59 (UTC)
@SpotlightKid the links on the official site have been recently switched. I don't think we'll get more official announcement.
SpotlightKid commented on 2024-08-15 10:57 (UTC)
@awe00: I'll do that when the fork gets officially announced (afaik it's still unofficial) and gets a release.
Pinned Comments
SpotlightKid commented on 2024-09-22 08:57 (UTC)
This package now is built using the official Nim binary distribution for x86_64, so no previous Nim installation is needed to bootstrap.