@egolep try downgrading your version of Zig to a pre-0.16 version, Zig has recently changed their build process to no longer use zig fetch.
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/kwm.git (read-only, click to copy) |
|---|---|
| Package Base: | kwm |
| Description: | Kewuaa's window manager for the River compositor |
| Upstream URL: | https://github.com/kewuaa/kwm |
| Keywords: | river wayland |
| Licenses: | GPL-3.0-only |
| Submitter: | ParadiseofMagic |
| Maintainer: | ParadiseofMagic |
| Last Packager: | ParadiseofMagic |
| Votes: | 2 |
| Popularity: | 0.30 |
| First Submitted: | 2026-03-17 12:30 (UTC) |
| Last Updated: | 2026-05-20 13:05 (UTC) |
@egolep try downgrading your version of Zig to a pre-0.16 version, Zig has recently changed their build process to no longer use zig fetch.
Am I the only one getting and error due to the build.zig file being missing?
That should make pakaging easier. Thanks!
@aeneby I managed to get it working. It requires a absolute path to function right, upstream has changed the way the build works so it no longer installs kwim in 0.2.3 see issue https://github.com/kewuaa/kwm/issues/190 so it will become a hard depend when 0.2.3 gets tagged.
This patch works for me to build 0.2.2:
It looks like kwim is a lazy dependency of kwm now. You can build without it (as per the above patch), but doing so disables a feature whereby kwm calls kwim automatically. So even if you install kwim as a separate package, you have to call it manually.
The other option would be to build kwim as a (Zig) dependency and ship it with this package. This gets a bit messy though since the projects have overlapping dependencies with different versions.
I suppose a third option would be to patch upstream so that kwim is always called automatically if it exists.
@aeneby I've created a package for Kwim at https://aur.archlinux.org/packages/kwim so it will be a dependency for this package however, that will be when I manage to bump it to version 0.2.2. I'm currently dealing with an error whenever I try to build(error in question:https://termbin.com/t4ev), I'm a bit busy at the moment so it might take some time.
Any plans to package kwim as a dependency of this one?
typo $_mzvrver → $_mvzrver
diff --git a/PKGBUILD b/PKGBUILD
index 133a389..abe72f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -26,3 +26,3 @@ source=("$url"/archive/refs/tags/v$pkgver.tar.gz
xkb-$_xkbver.tar.gz::https://codeberg.org/ifreund/zig-xkbcommon/archive/v$_xkbver.tar.gz
- mvzr-$_mvzrver.tar.gz::https://github.com/mnemnion/mvzr/archive/refs/tags/v$_mzvrver.tar.gz
+ mvzr-$_mvzrver.tar.gz::https://github.com/mnemnion/mvzr/archive/refs/tags/v$_mvzrver.tar.gz
fcft-$_fcftver.tar.gz::https://git.sr.ht/~novakane/zig-fcft/archive/v$_fcftver.tar.gz