Search Criteria
Package Details: zls-master-bin 0.16.0dev.63+60cff3d6-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/zls-master-bin.git (read-only, click to copy) |
|---|---|
| Package Base: | zls-master-bin |
| Description: | A language server for Zig |
| Upstream URL: | https://zigtools.org/zls |
| Licenses: | MIT |
| Conflicts: | zls-master |
| Provides: | zls-master |
| Submitter: | vitaliikuzhdin |
| Maintainer: | vitaliikuzhdin |
| Last Packager: | vitaliikuzhdin |
| Votes: | 4 |
| Popularity: | 0.024266 |
| First Submitted: | 2025-09-17 20:40 (UTC) |
| Last Updated: | 2025-12-16 21:51 (UTC) |
Dependencies (5)
- sh (dashbinshAUR, zshbinshAUR, bash-gitAUR, bash-devel-gitAUR, bash)
- zig-masterAUR (zig-master-binAUR)
- curl (curl-gitAUR, curl-c-aresAUR) (make)
- jq (jq-gitAUR, jq-staticAUR, jaq-binAUR, jaq-gitAUR) (make)
- minisign (minisign-gitAUR) (make)
Latest Comments
1 2 Next › Last »
vitaliikuzhdin commented on 2026-03-12 22:41 (UTC)
@Kena, see the discussion just below your comment.
Kena commented on 2026-03-12 22:39 (UTC)
Fails to build on line 48 for me
zig-master not found, I have zig-master installed. Changing it to just 'zig' makes it work.Apologies if this is the wrong place or way to mention this issue, never commented before.
vitaliikuzhdin commented on 2025-12-28 15:28 (UTC)
@doums, there has been a long discussion in the comments of zig-master-bin about how the
-masterand-gitpackages should be installed. From my standpoint, in general,zig-masteris notzig, andzigis notzig-master. These are very different products that cannot provide each other, and likewise, if you try to use one to build a project that targets the other, it is almost guaranteed to fail.I think it is very useful to be able to have both versions installed, both for private use and for packaging. If you try to build a project that targets
zig-master(for example, the latest git commit ofzls), you would otherwise need to uninstallzig, installzig-master, build the project, uninstallzig-master, and reinstallzig. Considering that building the latest commit of a project is the definition of a VCS package, which you normally do regularly (once a week, for example), you would need to perform this entire procedure every such period. And if you happen to need to comparezigandzig-masterto, for example, find a regression, you would spend 95% of the time doing this manual labor.The maintainer of
zig-master-binsuggests unpacking a prebuilt tarball somewhere and possibly exportingPATHif one needs both versions, but this defeats the entire purpose of proper system-wide packaging.For Zig, I think the best way to package it is something like this:
zig: stable release of Zig, for example0.15.2.zig-master:masterrelease of Zig, for example0.16.0dev.1484+d0ba6642b.zig-git(provides and conflicts withzig): latest stable branch of Zig, for example0.15.3dev.6+aaaaaaaaa(aka0.15.2+r6+aaaaaaaaa). This does not include commits to themasterbranch, which is at0.16.0dev.zig-master-git(provides and conflicts withzig-master): latestmasterbranch of Zig, for example0.16.0dev.1485+aaaaaaaaa. This includes all commits to themasterbranch, including those that fail CI and are therefore not included inzig-master. This is not very useful for obvious reasons, so I did not upload it.Considering that ZLS can only be used with a matching tag/commit of Zig, it cannot quite follow the traditional naming rules:
zls: stable release of ZLS, for example0.15.1.zls-master: dynamically targetszig-masterduring the build.zls-git(provides and conflicts withzls): dynamically targetszig-gitduring the build.Since the maintainer of
zig-master-binconsiders exporting variables to be a solution, I would perhaps suggest doing exactly that. Upstream documentation describes in detail how to properly set up ZLS to be used as an LSP by IDEs, and most IDEs already support setting a customPATHor binary name, you only need to modify a few lines in your configuration. If that is not possible, you can launch the IDE with the correct environment options (for example,export PATH="/usr/lib/zls-master:$PATH"). I know this may be unfortunate, but you are trying to use an unofficial AUR build of an unstable tool. Naturally, the official stable release has higher priority for seamless integration.Regarding the presence of
zig-master, it is installed correctly in the source-built zig-master.doums commented on 2025-12-28 13:23 (UTC)
Why this package install zls binary as
zls-master? Which is not right because LSP & cie, tools etc expectzlsnotzls-master.Also, it relies on the presence of
zig-master, which ofc fails the installation:vitaliikuzhdin commented on 2025-11-13 20:53 (UTC)
@yataro, I’ve reworked the logic. Thanks for the report, let me know if it still needs any adjustments.
yataro commented on 2025-11-12 15:44 (UTC)
I think it fails to process
PKGBUILDbecause of lines 39-43. It will resolve dependencies before downloading, but as it failed to processPKGBUILDit will never happen (jqandzig-masteris not installed, and dependency check is not triggered before initialPKGBUILDprocessing).I also don't like idea to download from any external resource during
prepare()but currently I see no clean way to workaround this.vitaliikuzhdin commented on 2025-11-12 13:56 (UTC)
@yataro, that’s odd. Building with plain
makepkgworks fine, butmakechrootpkgdoesn’t seem to pull dependencies before building. That doesn’t make any sense. If, for example, a git dependency were needed to clone a repo, it wouldn’t even be possible without installing it first.I’m avoiding fetching sources in
prepare()because that would bypass anything configured inmakepkg.conf(like proxy settings orDLAGENTS). I’ll ask around, if this approach turns out to be unworkable, I’ll move everything toprepare().yataro commented on 2025-11-12 12:26 (UTC)
Fails to build in clean chroot:
Consider downloading the source in
prepare()impulse commented on 2024-06-19 07:52 (UTC)
For some reason the master version does not give you the latest, only the latest tagged release which is not really nightly, so i had to tweak it by looking at the index.json.
1 2 Next › Last »