Package Details: zigup-bin 1:2025_05_24-1

Git Clone URL: https://aur.archlinux.org/zigup-bin.git (read-only, click to copy)
Package Base: zigup-bin
Description: Download and manage zig compilers
Upstream URL: https://github.com/marler8997/zigup
Licenses: MIT-0
Conflicts: zig, zigup
Provides: zig, zigup
Submitter: laura7089
Maintainer: laura7089
Last Packager: laura7089
Votes: 4
Popularity: 0.33
First Submitted: 2023-05-13 23:58 (UTC)
Last Updated: 2025-05-24 22:12 (UTC)

Dependencies (0)

Required by (113)

Sources (4)

Pinned Comments

SpieringsAE commented on 2024-05-07 19:19 (UTC) (edited on 2024-05-07 19:19 (UTC) by SpieringsAE)

As a hint to everyone using this, it will not work out of the box, it will try to symlink the selected zig compiler to /usr/bin/ which you dont have permission for likely, I set up an alias which always sets the --path-link option to a folder thats on the $PATH that I have regular access to.I have $HOME/.local/bin on my path so something like:
alias zigup="zigup --path-link $HOME/.local/bin/zig"
in your .bashrc or whatever shell you use will help with this.

Latest Comments

vitaliikuzhdin commented on 2025-05-24 21:25 (UTC)

Please remove provides=('zig') and conflicts=('zig'). Currently, this implies that the package is a direct drop-in replacement for zig, which is not the case. If you install zigup-bin and run zig, you will get:

$ zig
bash: zig: command not found

As a result, packages that depend on zig cannot be built without manual intervention. Arguably, anyzig, a replacement for zigup, kind of provides zig, but only when run from within the source directory, which is not always the case. zigup, on the other hand, does not implement this behavior at all.

To address this, I have created anyzig-zig* and zigup-zig*, which are shell wrapper scripts that invoke their respective backends with a specified version of zig.

SpieringsAE commented on 2025-01-03 19:01 (UTC) (edited on 2025-04-21 10:20 (UTC) by SpieringsAE)

given the update I have updated my fork with riscv64 support here: https://github.com/spieringsAE/zigup-bin

edit: updated to v2025_04_20

SpieringsAE commented on 2024-05-07 19:19 (UTC) (edited on 2024-05-07 19:19 (UTC) by SpieringsAE)

As a hint to everyone using this, it will not work out of the box, it will try to symlink the selected zig compiler to /usr/bin/ which you dont have permission for likely, I set up an alias which always sets the --path-link option to a folder thats on the $PATH that I have regular access to.I have $HOME/.local/bin on my path so something like:
alias zigup="zigup --path-link $HOME/.local/bin/zig"
in your .bashrc or whatever shell you use will help with this.