Install this version:
emerge -a =app-eselect/eselect-zig-2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-eselect/eselect-zig-2
Or alternatively:
emerge --autounmask-write -a =app-eselect/eselect-zig-2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2 | 8 | amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86 | 0 |
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Manages Zig versions"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~x86"
RDEPEND="app-admin/eselect"
src_install() {
insinto /usr/share/eselect/modules/
newins "${FILESDIR}"/zig.eselect-${PVR} zig.eselect
}
app-admin/eselect