diff options
author | Hilton Chain <hako@ultrarare.space> | 2024-11-20 08:00:54 +0800 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2024-12-31 10:56:34 +0800 |
commit | bdff1941e51193437dbcefad80d019fd9d5d0aa9 (patch) | |
tree | d229690dfa81d125ac2a33ab1acfd2e6568b0e15 /gnu/packages/ncdu.scm | |
parent | 5ce59e0413510098f92e4b824d2a24b97ad2e4c9 (diff) |
gnu: zig: Default to zig-0.13.
* guix/build-system/zig.scm (#:parallel-build?,#:parallel-tests?):
New arguments.
* guix/build/zig-build-system.scm (zig-arguments): New procedure.
(bulid): Use it and honor #:parallel-build?.
(check): Use it and honor #:parallel-tests?.
* gnu/packages/zig.scm (zig): Define as zig-0.13.
* gnu/packages/ncdu.scm (ncdu)[arguments]<#:zig>: Unset.
<#:zig-release-type>: Set to "safe".
<#:zig-build-flags>: Add "-Dpie".
* gnu/packages/zig-xyz.scm (river)[arguments]<#:zig>: Use zig-0.10.
(zig-zls)[arguments]<#:zig>: Use zig-0.10.
<#:zig-release-type>: Set to "safe".
Change-Id: I1f0087ff39ea9fecb2ad911019d0525f1e6285f6
Diffstat (limited to 'gnu/packages/ncdu.scm')
-rw-r--r-- | gnu/packages/ncdu.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/ncdu.scm b/gnu/packages/ncdu.scm index c49fefc077e..bbbb2fea26f 100644 --- a/gnu/packages/ncdu.scm +++ b/gnu/packages/ncdu.scm @@ -72,8 +72,10 @@ ncurses installed.") "01g5mpvsm78lkd0yin82gyancrl23npy69qcp3d60vmm72yiwirz")))) (build-system zig-build-system) (arguments - (list #:zig zig-0.12 - #:install-source? #f)) + (list #:install-source? #f + #:zig-release-type "safe" + #:zig-build-flags + #~(list "-Dpie"))) (inputs (list ncurses `(,zstd "lib"))) (native-inputs (list pkg-config)) (properties `((tunable? . #t))))) |