Package Details: anyzig-bin 2026_03_26-1

Git Clone URL: https://aur.archlinux.org/anyzig-bin.git (read-only, click to copy)
Package Base: anyzig-bin
Description: One zig to rule them all
Upstream URL: https://github.com/marler8997/anyzig
Licenses: MIT
Conflicts: anyzig
Provides: anyzig
Submitter: vitaliikuzhdin
Maintainer: vitaliikuzhdin
Last Packager: vitaliikuzhdin
Votes: 2
Popularity: 0.000635
First Submitted: 2025-03-18 23:17 (UTC)
Last Updated: 2026-03-29 19:44 (UTC)

Pinned Comments

Latest Comments

vitaliikuzhdin commented on 2026-05-01 07:02 (UTC)

@nhawke, this behavior is intentional and correct. Firstly, you might want to have both zig and anyzig. Secondly, anyzig is not a drop-in replacement for zig because it only works inside the project's top srcdir. Try using it outside of a project and see how well it goes:

$ zig fetch https://github.com/ziglibs/known-folders/archive/aa24df42183ad415d10bc0a33e6238c437fc0f59.tar.gz
known_folders-0.0.0-Fy-PJtLDAADGDOwYwMkVydMSTp_aN-nfjCZw6qPQ2ECL
$ anyzig fetch https://github.com/ziglibs/known-folders/archive/aa24df42183ad415d10bc0a33e6238c437fc0f59.tar.gz
no build.zig to pull a zig version from, you can:
  1. run 'zig VERSION' to specify a version
  2. run from a directory where a build.zig can be found

nhawke commented on 2026-05-01 01:30 (UTC)

This package installs anyzig using the binary name anyzig, but the point of anyzig is that the binary should be named zig, so it can be a drop-in replacement for the official zig binary.

The PKGBUILD has the lines

_pkgname="anyzig"

install -vDm755 "zig" "${pkgdir}/usr/bin/${_pkgname}"

but it should instead install the binary as:

install -vDm755 "zig" "${pkgdir}/usr/bin/zig"