summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2024-11-11 17:42:19 +0800
committerHilton Chain <hako@ultrarare.space>2024-12-31 10:54:16 +0800
commite68cfe611c233214629224329cb7a243b8003035 (patch)
treea30cdd5b44ccde80ab9455c428ed8d7eaf7550a7
parent90f12b09369b9d1ba75e67460087cd96016d6d7f (diff)
gnu: Add zig-0.11.0-702.
* gnu/packages/zig.scm (zig-0.11.0-702): New variable. Change-Id: Ic532f9d590b8804c8f0dedbeec45f7b244372b28
-rw-r--r--gnu/packages/zig.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm
index 306eba1283..4fc2dd7819 100644
--- a/gnu/packages/zig.scm
+++ b/gnu/packages/zig.scm
@@ -1280,4 +1280,27 @@ toolchain. Among other features it provides
(modify-inputs (package-native-inputs base)
(replace "zig" `(,base "out")))))))
+(define zig-0.11.0-702
+ (let ((commit "63bd2bff12992aef0ce23ae4b344e9cb5d65f05d")
+ (revision "702")
+ (base zig-0.11.0-638))
+ (package
+ (inherit base)
+ (name "zig")
+ (version (git-version "0.11.0" revision commit))
+ (source (zig-source
+ version commit
+ "049fpdgkarp834amymw0clvsk6g20742d3940la60na03rc4vy5x"))
+ ;; zig1
+ (arguments
+ (substitute-keyword-arguments (package-arguments zig-0.10.0-747)
+ ((#:phases phases '%standard-phases)
+ #~(modify-phases #$phases
+ (replace 'build-zig1
+ (lambda _
+ (invoke "zig2" "build" "update-zig1" "--verbose")))))))
+ (native-inputs
+ (modify-inputs (package-native-inputs base)
+ (replace "zig" `(,base "out")))))))
+
(define-public zig zig-0.10)