mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-12-23 07:14:53 +01:00
nongnu: wasm: Extract wasm32-wasi-clang hash from clang-13.
* nongnu/packages/wasm.scm (wasm32-wasi-clang): Extract base clang hash directly from (gnu packages clang-13). Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
3480f10982
commit
3e4af2cc32
1 changed files with 4 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
(define-module (nongnu packages wasm)
|
||||
#:use-module (guix base32)
|
||||
#:use-module (guix gexp)
|
||||
#:use-module (guix packages)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
|
@ -119,7 +120,9 @@ other APIs.")
|
|||
|
||||
(define-public wasm32-wasi-clang
|
||||
(let ((base (clang-from-llvm llvm-13 wasm32-wasi-clang-runtime
|
||||
"0zp1p6syii5iajm8v2c207s80arv00yz5ckfwimn5dng0sxiqqax")))
|
||||
(bytevector->nix-base32-string
|
||||
(content-hash-value
|
||||
(origin-hash (package-source clang-13)))))))
|
||||
(package (inherit base)
|
||||
(name "wasm32-wasi-clang")
|
||||
(inputs
|
||||
|
|
Loading…
Reference in a new issue