summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* build-system: zig: Support Zig package manager.•••* guix/build-system/zig.scm (zig-build,zig-cross-build) [#:install-source?,#:skip-build?]: New arguments. [#:tests?]: Honor #:skip-build?. * guix/build/zig-build-system.scm (zig-source-install-path) (zig-input-install-path,unpack-dependencies): New procedures. (%standard-phases): Add 'unpack-dependencies. (build,install): Honor #:skip-build?. * doc/guix.texi (Build Systems)[zig-build-system]: Update documentation. * gnu/packages/zig.scm (zig-0.9)[native-search-paths]: Add GUIX_ZIG_PACKAGE_PATH. Use search paths defined in (guix search-paths). (add-build.zig.zon,rename-zig-dependencies): New procedures. * gnu/packages/ncdu.scm (ncdu)[arguments]: Don't install source. * gnu/packages/zig-xyz.scm (river,tigerbeetle,zig-zls)[arguments]: Likewise. Hilton Chain2024-12-316-49/+197
* gnu: zig: Build reproducibly.•••* guix/build/zig-utils.scm: New file. * Makefile.am (MODULES): Add it. * guix/build-system/zig.scm (%zig-build-system-modules): Add it. (zig-build,zig-cross-build): Add #:zig-build-target. * guix/build/zig-build-system.scm (zig-target): Move to (guix build zig-utils). (configure): Move to (guix build zig-utils) as zig-configure. (build): Replace target with zig-build-target. (%standard-phases): Adjust accordingly. * gnu/packages/zig.scm (zig-0.9)[arguments]<#:imported-modules,#:modules>: Add zig-build-system modules. <#:configure-flags>: Set ZIG_TARGET_TRIPLE for native builds too. Move applicable flags from zig-0.10 here. <#:phases>: Apply 'zig-configure. Unset ZIG_LIBC in 'check. Remove 'set-cache-dir. (zig-0.10)[arguments]<#:configure-flags>: Adjust accordingly. (zig-0.10.0-610)[arguments]<#:configure-flags>: Remove ZIG_TARGET_TRIPLE. Hilton Chain2024-12-315-66/+124
* gnu: zig: Set host triple.•••* gnu/packages/zig.scm (zig-0.10.0-675,zig-0.11)[arguments]<#:phases>: Set host triple in CMakeLists.txt. Change-Id: Ib05050d7e499b4336a01a140c73fb6c8bb450bd6 Modified-by: Hilton Chain <hako@ultrarare.space> Signed-off-by: Hilton Chain <hako@ultrarare.space> Efraim Flashner2024-12-311-1/+15
* gnu: zig: Respect the PKG_CONFIG environment variable.•••* gnu/packages/patches/zig-0.9-build-respect-PKG_CONFIG-env-var.patch: New file. * gnu/packages/patches/zig-0.10-build-respect-PKG_CONFIG-env-var.patch: New file. * gnu/packages/patches/zig-0.11-build-respect-PKG_CONFIG-env-var.patch: New file. * gnu/packages/patches/zig-0.12-build-respect-PKG_CONFIG-env-var.patch: New file. * gnu/packages/patches/zig-0.13-build-respect-PKG_CONFIG-env-var.patch: New file. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/zig.scm (zig-0.9,zig-0.10,zig-0.11,zig-0.12,zig-0.13)[source]: Add patches. * guix/build/zig-build-system.scm (configure): set PKG_CONFIG. Change-Id: I0abf871c6990144fc472191bf1167aa2fc765161 Modified-by: Hilton Chain <hako@ultrarare.space> Signed-off-by: Hilton Chain <hako@ultrarare.space> Efraim Flashner2024-12-318-0/+255
* build/zig: Adjust the build triplets for some systems.•••* guix/build/zig-build-system.scm (zig-target): New procedure. (build): Use it to set the target when cross-compiling. Change-Id: Ic82253ce899055526e894a0cb67738ddbb476574 Modified-by: Hilton Chain <hako@ultrarare.space> Signed-off-by: Hilton Chain <hako@ultrarare.space> Efraim Flashner2024-12-311-1/+19
* build/zig: Really support cross compilation.•••* guix/build/zig-build-system.scm (configure): New procedure. (set-cc,set-zig-global-cache-dir): Delete procedures. (%standard-phases): Adjust accordingly. Change-Id: I08d15add2b249f7016f9cbb07f151ecf469fe656 Hilton Chain2024-12-311-10/+19
* gnu: Add zig-0.13.•••* gnu/packages/patches/zig-0.13-fix-runpath.patch: New file. * gnu/local.mk (dist_patch_DATA): Regisiter it. * gnu/packages/zig.scm (zig-0.13-glibc-abi-tool,zig-0.13): New variables. Change-Id: I217a1d444acb600d8cc38abcaa3950156b11cbae Hilton Chain2024-12-313-0/+159
* gnu: Add zig-0.12.0-109.•••* gnu/packages/zig.scm (zig-0.12.0-109): New variable. Change-Id: If480110b20b2971fe7562bbd60fcb74afc5c1ed4 Hilton Chain2024-12-311-0/+33
* gnu: ncdu: Update to 2.6.•••* gnu/packages/ncdu.scm (ncdu): Update to 2.6. [source]: Adjust snippet to not remove manpage. [arguments]: Remove adjustments to phases. [inputs]: Add zstd:lib. [native-inputs]: Add pkg-config. Remove perl. Change-Id: I6e85f06f22dcd5d62b41009039b984e6b8e65b28 Efraim Flashner2024-12-311-16/+8
* gnu: Add zig-0.12.•••* gnu/packages/patches/zig-0.12-fix-runpath.patch: New file. * gnu/packages/patches/zig-0.12-use-baseline-cpu-by-default.patch: New file. * gnu/packages/patches/zig-0.12-use-system-paths.patch: New file. * gnu/local.mk (dist_patch_DATA): Regisiter them. * gnu/packages/zig.scm (zig-0.12-glibc-abi-tool,zig-0.12): New variables. Change-Id: I700d0afa2b373bf24a4f3527548e86dbed1aff17 Hilton Chain2024-12-315-0/+341
* gnu: Add zig-0.11.0-3604.•••* gnu/packages/zig.scm (zig-0.11.0-3604): New variable. Change-Id: I4d419344197d8ae4a44a6267a7594c11a5687377 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.11.0-3506.•••* gnu/packages/zig.scm (zig-0.11.0-3506): New variable. Change-Id: Ia1edd0d1e54f8a05b2b1d74986c259342e64a89c Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.11.0-3503.•••* gnu/packages/zig.scm (zig-0.11.0-3503): New variable. Change-Id: I8300bda579865a547bd45be31b74d8751ee16e63 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.11.0-3501.•••* gnu/packages/zig.scm (zig-0.11.0-3501): New variable. Change-Id: Ia487a9e08bcb12169becf5b834cb9c14088f5f18 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.11.0-3344.•••* gnu/packages/zig.scm (zig-0.11.0-3344): New variable. Change-Id: Id3b4425bb5018df6e7ec58f82a8b654ba073a487 Hilton Chain2024-12-311-0/+23
* gnu: Add zig-0.11.0-3245.•••* gnu/packages/zig.scm (zig-0.11.0-3245): New variable. Change-Id: Ie7cc13a4e3db496ff771e182a7b89248f1352983 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.11.0-1967.•••* gnu/packages/zig.scm (zig-0.11.0-1967): New variable. Change-Id: I198cdb0a1e237e573360f7c37feff9bac5e4e3f2 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.11.0-761.•••* gnu/packages/zig.scm (zig-0.11.0-761): New variable. Change-Id: Ia2ce5d7c699fa492cac0d1c13f9b080a5657457a Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.11.0-702.•••* gnu/packages/zig.scm (zig-0.11.0-702): New variable. Change-Id: Ic532f9d590b8804c8f0dedbeec45f7b244372b28 Hilton Chain2024-12-311-0/+23
* gnu: Add zig-0.11.0-638.•••* gnu/packages/zig.scm (zig-0.11.0-638): New variable. Change-Id: I5012ae588d93a7ecf646686719b54e05f3c94f95 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.11.0-631.•••* gnu/packages/zig.scm (zig-0.11.0-631): New variable. Change-Id: I7acbcd4a34c68eb9c3cce4fb4ec48a858b912f55 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.11.0-587.•••* gnu/packages/zig.scm (zig-0.11.0-587): New variable. Change-Id: Ie15ecff5647e658ced1e2d0888ba90986296ffa2 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.11.0-494.•••* gnu/packages/zig.scm (zig-0.11.0-494): New variable. Change-Id: I4b41f283168f70af08f1a3e3fa88804fee64280f Hilton Chain2024-12-311-0/+24
* gnu: Add zig-0.11.0-384.•••* gnu/packages/zig.scm (zig-0.11.0-384): New variable. Change-Id: I9b8388600e51840df0de19e9367f45e2f386d9f4 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.11.0-149.•••* gnu/packages/zig.scm (zig-0.11.0-149): New variable. Change-Id: Ibb5b0df17b20e161772d846f589c06d3fc811263 Hilton Chain2024-12-311-0/+30
* gnu: Add zig-0.11.•••* gnu/packages/patches/zig-0.11-fix-runpath.patch: New file. * gnu/packages/patches/zig-0.11-use-system-paths.patch: New file. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/zig.scm (zig-0.11-glibc-abi-tool,zig-0.11): New variables. Change-Id: I2507af62918f3989967d55dec942b84655d6d8bd Hilton Chain2024-12-314-0/+254
* gnu: Add zig-0.10.0-3985.•••* gnu/packages/zig.scm (zig-0.10.0-3985): New variable. Change-Id: Ia01b9dd556e2c322b1a225976d6fb9c5c3cb5b07 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-3980.•••* gnu/packages/zig.scm (zig-0.10.0-3980): New variable. Change-Id: I16418b409178ab6c1b78cee8a45290575dcadf7c Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-3813.•••* gnu/packages/zig.scm (zig-0.10.0-3813): New variable. Change-Id: I36e7ba6844c23381fbbe2dcd8e2d4d55b24d20ba Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-3807.•••* gnu/packages/zig.scm (zig-0.10.0-3807): New variable. Change-Id: Id1fd647873f9bd1cdcbe7d615866c4cca52a5a11 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-3728.•••* gnu/packages/zig.scm (zig-0.10.0-3728): New variable. Change-Id: I4e4dbcb831b0a2a4e4d875f56e8ace54a0dec4f5 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-3726.•••* gnu/packages/zig.scm (zig-0.10.0-3726): New variable. Change-Id: Iac4b6546539c9ecc83fd775e360ad2e15b5e1094 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-3660.•••* gnu/packages/zig.scm (zig-0.10.0-3660): New variable. Change-Id: Ib05ee3026cadab2f5f7cf1da8639a4a4578737ee Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-2838.•••* gnu/packages/zig.scm (zig-0.10.0-2824-source,zig-0.10.0-2838): New variables. Change-Id: If424c545f02b7eb91ae6f4682377b91226709246 Hilton Chain2024-12-311-0/+40
* gnu: Add zig-0.10.0-2797.•••* gnu/packages/zig.scm (zig-0.10.0-2796-source,zig-0.10.0-2797): New variables. Change-Id: I4e4eceb9418db9ae2c49fd073f0d2a3aa9e5b7ba Hilton Chain2024-12-311-0/+33
* gnu: Add zig-0.10.0-2571.•••* gnu/packages/zig.scm (zig-0.10.0-2571): New variable. Change-Id: Iba7ad5ce26edcc84ba3f8720f70d250bb4ac529c Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-2566.•••* gnu/packages/zig.scm (zig-0.10.0-2565-source,zig-0.10.0-2566): New variables. Hilton Chain2024-12-311-0/+32
* gnu: Add zig-0.10.0-2558.•••* gnu/packages/zig.scm (zig-0.10.0-2558): New variable. Change-Id: I49f3a5bdf87ef5b03de2381b6a111e671142ee9e Hilton Chain2024-12-311-0/+24
* gnu: Add zig-0.10.0-1891.•••* gnu/packages/zig.scm (zig-0.10.0-1891): New variable. Change-Id: I7522101456ae0374923c0f9a97defababe75b4c0 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-1888.•••* gnu/packages/zig.scm (zig-0.10.0-1888): New variable. Change-Id: Icc0c5f286529d1501145f78efcdc055ae592f5dd Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-1713.•••* gnu/packages/zig.scm (zig-0.10.0-1713): New variable. Change-Id: I7055b835a1dc8540ed47780b7a86307721de8e90 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-1712.•••* gnu/packages/zig.scm (zig-0.10.0-1712): New variable. Change-Id: Id44bf920414bfe0ca6c4712c3e181b97687695c4 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-1681.•••* gnu/packages/zig.scm (zig-0.10.0-1681): New variable. Change-Id: Ie7cfa50977b28788e42bad3266b2d9c238029e62 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-1657.•••* gnu/packages/zig.scm (zig-0.10.0-1657): New variable. Change-Id: Idddc1a1c5f14cec21bca59eb0cf72fbb39667261 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-1638.•••* gnu/packages/patches/zig-0.10.0-1638-re-add-qualCast.patch: New file. * gnu/local.mk (dist_patch_DATA): Regisiter it. * gnu/packages/zig.scm (zig-0.10.0-1637-source,zig-0.10.0-1638): New variables. Change-Id: I66853da969d7cb2afc820a860757ef08b4577fbd Hilton Chain2024-12-313-0/+215
* gnu: Add zig-0.10.0-1506.•••* gnu/packages/zig.scm (zig-0.10.0-1505-source,zig-0.10.0-1506): New variables. Change-Id: I08d23ca32c5d60e1363b0c45dae7e083e9980a12 Hilton Chain2024-12-311-0/+37
* gnu: Add zig-0.10.0-1497.•••* gnu/packages/zig.scm (zig-0.10.0-1497): New variable. Change-Id: Ibf8dfb3756bbe0b751d333cb00d275c02d5ae1e9 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-1073.•••* gnu/packages/zig.scm (zig-0.10.0-1073): New variable. Change-Id: I717229da04fd90b73a3730ed30f92367ea5b5da4 Hilton Chain2024-12-311-0/+25
* gnu: Add zig-0.10.0-1027.•••* gnu/packages/zig.scm (zig-0.10.0-1027): New variable. Change-Id: Ia51fc7546c76ac567244aabe2fecacbb4453f733 Hilton Chain2024-12-311-0/+17
* gnu: Add zig-0.10.0-962.•••* gnu/packages/zig.scm (zig-0.10.0-962): New variable. Change-Id: Id63fefdb772fe4a14d4fbeff77db7a843aa65c91 Hilton Chain2024-12-311-0/+17