diff options
author | Hilton Chain <hako@ultrarare.space> | 2024-11-11 10:50:27 +0800 |
---|---|---|
committer | Hilton Chain <hako@ultrarare.space> | 2024-12-31 10:54:12 +0800 |
commit | 9ca1d39075481786625d2d6b0772c3b211cf84b7 (patch) | |
tree | 9d245f9d6c9c098f47f931571dba86893ae75981 | |
parent | 2f68933dfda9570906ce0fc6b88cdaea8cbe054b (diff) |
gnu: Add zig-0.10.0-851.
* gnu/packages/zig.scm (zig-0.10.0-851): New variable.
Change-Id: Id830631812287ec7b54b81bf66eb28ad10190d84
-rw-r--r-- | gnu/packages/zig.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/zig.scm b/gnu/packages/zig.scm index 2a5515d60b6..b80c519225c 100644 --- a/gnu/packages/zig.scm +++ b/gnu/packages/zig.scm @@ -502,4 +502,26 @@ toolchain. Among other features it provides (modify-inputs (package-native-inputs base) (replace "zig" `(,base "zig1"))))))) +;; Supply zig1.wasm, build zig2, install zig2. +(define zig-0.10.0-851 + (let ((commit "aac2d6b56f32134ea32fb3d984e3fcdfddd8aaf6") + (revision "851") + (base zig-0.10.0-748)) + (package + (inherit base) + (name "zig") + (version (git-version "0.10.0" revision commit)) + (source (zig-source + version commit + "026q8igib5a2wiqdxispijph7isx8g1m0p6xgclikrmwpkpr7wb8")) + (arguments + (substitute-keyword-arguments (package-arguments zig-0.10.0-748) + ((#:phases phases '%standard-phases) + #~(modify-phases #$phases + (delete 'build-zig1) + (delete 'install-zig1))))) + (native-inputs + (modify-inputs (package-native-inputs base) + (replace "zig" `(,base "zig1"))))))) + (define-public zig zig-0.10) |