[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/15: gnu: Add zig-0.10.0-962.
From: |
guix-commits |
Subject: |
10/15: gnu: Add zig-0.10.0-962. |
Date: |
Sat, 9 Nov 2024 12:14:20 -0500 (EST) |
hako pushed a commit to branch wip-zig-bootstrap
in repository guix.
commit cade561601db439bd1d38376cbba1a8dd191ff02
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Sat Nov 9 15:27:43 2024 +0800
gnu: Add zig-0.10.0-962.
* gnu/packages/zig.scm (zig-0.10.0-962): New variable.
Change-Id: I7dc0ef9155cb0c98c896795bd004ab76cc7d971a
---
gnu/packages/zig.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm
index 3be56f7a10..103c84144d 100644
--- a/gnu/packages/zig.scm
+++ b/gnu/packages/zig.scm
@@ -570,4 +570,39 @@ toolchain. Among other features it provides
(modify-inputs (package-native-inputs base)
(replace "zig" `(,base "zig1")))))))
+(define zig-0.10.0-962
+ (let ((commit "622311fb9ac7ee6d93dcb8cda4b608751f7e092a")
+ (revision "962")
+ (base zig-0.10.0-961))
+ (package
+ (inherit base)
+ (name "zig")
+ (version (git-version "0.10.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ziglang/zig")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1yywzmxr6nwhdix5x9k5nrxa4n1nc8x8v1gqgyvwdhz47x9vw8b0"))
+ (snippet '(delete-file "stage1/zig1.wasm"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments zig-0.10.0-851)
+ ((#:phases phases '%standard-phases)
+ #~(modify-phases #$phases
+ (replace 'build-zig1
+ (lambda _
+ (invoke "zig2" "build" "--zig-lib-dir" "lib"
+ "update-zig1" "--verbose")))
+ (delete 'prepare-source)
+ (delete 'configure)
+ (delete 'build)
+ (delete 'install)
+ (delete 'check)))))
+ (native-inputs
+ (modify-inputs (package-native-inputs base)
+ (replace "zig" `(,base "out")))))))
+
(define-public zig zig-0.10)
- branch wip-zig-bootstrap created (now 4a342a6f6e), guix-commits, 2024/11/09
- 01/15: gnu: Add zig-0.10.0-610-bootstrap., guix-commits, 2024/11/09
- 07/15: gnu: Add zig-0.10.0-851., guix-commits, 2024/11/09
- 08/15: gnu: Add zig-0.10.0-853., guix-commits, 2024/11/09
- 10/15: gnu: Add zig-0.10.0-962.,
guix-commits <=
- 02/15: gnu: Add zig-0.10.0-610., guix-commits, 2024/11/09
- 03/15: gnu: Add zig-0.10.0-675., guix-commits, 2024/11/09
- 13/15: gnu: Add zig-0.10.0-1497., guix-commits, 2024/11/09
- 04/15: gnu: Add zig-0.10.0-722., guix-commits, 2024/11/09
- 05/15: gnu: Add zig-0.10.0-747., guix-commits, 2024/11/09
- 09/15: gnu: Add zig-0.10.0-961., guix-commits, 2024/11/09
- 06/15: gnu: Add zig-0.10.0-748., guix-commits, 2024/11/09
- 11/15: gnu: Add zig-0.10.0-1027., guix-commits, 2024/11/09
- 15/15: gnu: Add zig-0.10.0-1638., guix-commits, 2024/11/09
- 12/15: gnu: Add zig-0.10.0-1073., guix-commits, 2024/11/09