more wording updates

This commit is contained in:
Motiejus Jakštys 2024-11-12 23:57:20 +02:00
parent a240d21fca
commit dbcb6795ec

View File

@ -118,28 +118,25 @@ checkout, ran it to produce `zig1.wasm` of `0.13.0` myself:
``` ```
$ ./pre-inst-env guix build zig@0.13 $ ./pre-inst-env guix build zig@0.13
;;; note: source file /home/motiejus/code/guix/gnu/packages/zig.scm < ... a few hours ... >
;;; newer than compiled /home/motiejus/code/guix/gnu/packages/zig.go
;;; note: source file /home/motiejus/code/guix/gnu/packages/zig.scm
;;; newer than compiled /nix/store/gp8nnfibhz63f61cxrnjhm4wb2r9np8h-guix-1.4.0/lib/guile/3.0/site-ccache/gnu/packages/zig.go
/gnu/store/mz95707dd7qmycpr1f0ndxhkmx3vdy1c-zig-0.13.0 /gnu/store/mz95707dd7qmycpr1f0ndxhkmx3vdy1c-zig-0.13.0
/gnu/store/kqwq8sjgwi561sp78vfi6xkgm9i3wysk-zig-0.13.0-zig1 /gnu/store/kqwq8sjgwi561sp78vfi6xkgm9i3wysk-zig-0.13.0-zig1
$ ls -lh /gnu/store/kqwq8sjgwi561sp78vfi6xkgm9i3wysk-zig-0.13.0-zig1/bin/zig1.wasm $ ls -l /gnu/store/kqwq8sjgwi561sp78vfi6xkgm9i3wysk-zig-0.13.0-zig1/bin/zig1.wasm
-r--r--r-- 5 root root 2.6M Jan 1 1970 /gnu/store/kqwq8sjgwi561sp78vfi6xkgm9i3wysk-zig-0.13.0-zig1/bin/zig1.wasm -r--r--r-- 5 root root 2661492 Jan 1 1970 /gnu/store/kqwq8sjgwi561sp78vfi6xkgm9i3wysk-zig-0.13.0-zig1/bin/zig1.wasm
``` ```
Once I had `zig1.wasm` of 0.13.0, I did the same as I did in the official Once I had `zig1.wasm` of 0.13.0, I did the same as I did in the official
`zig1.wasm`: built `zig3`, used it to build `zig1.wasm`, and voilà, the hashes of `zig1.wasm`: built `zig3`, used it to build `zig1.wasm`, and voilà, the hashes of
the official `zig1.wasm` and the one built here match. the official `zig1.wasm` and the one built here match.
# Conclusion # Conclusions and open questions
I am looking forward to Hilton landing this to Guix, so anyone can audit the I am looking forward to Hilton landing this to Guix, so anyone can audit the
build script and reproduce this exercise by themselves with an otherwise build script and reproduce this exercise by themselves with an otherwise
[bootstrappable][7] system. If you don't trust Guix, whom do you trust? [bootstrappable][7] system. If you don't trust Guix, what do you trust?
If anyone can trace origins of `zig1.wasm` and produce an identical version If anyone can trace origins of `zig1.wasm` by producing an identical version
themselves, perhaps it's not too bad to have it checked in? themselves, perhaps it's not too bad to trust it and have it checked in?
[^1]: Not exactly. Some reverts and code movement is necessary. See the [`run` [^1]: Not exactly. Some reverts and code movement is necessary. See the [`run`
script][5] for details. script][5] for details.