Error: × Failed to build derivation: tmp/store/aaa-hello-0.drv
╰─▶ Hash mismatch
╭─[12:5]
11 │ """#
12 │ ╭─▶ output out {
13 │ │ path "tmp/store/inu583i4714tzfmtp3nuubiteoxuocxmdp41awh36ein6mg81zpy-hello-0"
14 │ │ hash algo=blake3 "a8a7b3e6baecb51b95716e453986b1441f3831eb1b752c5399f22a2f2cc795db"
15 │ ├─▶ }
· ╰──── here
16 │ system arch=x86-64 os=linux
╰────
help: expected: hash algo=blake3 "a8a7b3e6baecb51b95716e453986b1441f3831eb1b752c5399f22a2f2cc795da"
0 Boosts
0 Likes
Luddicus Mus
@algernon@come-from.mad-scientist.club
·
activity timestamp
2 days ago
So many clones and TODOs left, and I haven't cleaned up the dependency handling yet, either. Hnghnh.
Lets have a little break.
Fuuuck, this is complicated. But on the flipside, I built GNU Hello from source, using a tarball from the store, and it's more or less reproducible.
derivation gnu.hello-2.12.3 {
input buildtime \
name="hello" \
path="/sickos/store/oqoz1y546pbi8qskbye5fspmnpauqiuu5a8bwhmd74tnzcmha8ko-hello-2.12.3.tar.gz"
builder "/sickos/support/build-systems/autotools.sh" "hello-2.12.3"
output out {
path "/sickos/store/5pgeahgwoamrdqxfwz36k4bftzqipo85brd641rjzxyktoj8mexy-gnu.hello-2.12.3"
hash algo=blake3 "db4c8c70d4861641b9e5a5f3e568258ddd56c0fb0907ed4889bbc0a8c1275a1e"
}
system arch=x86-64 os=linux
}
derivation gnu.hello-2.12.3-source {
builder "/sickos/support/fetchers/curl.sh" \
"https://ftpmirror.gnu.org/gnu/hello/hello-2.12.3.tar.gz"
output out {
path "/sickos/store/oqoz1y546pbi8qskbye5fspmnpauqiuu5a8bwhmd74tnzcmha8ko-hello-2.12.3.tar.gz"
hash algo=blake3 "83a179037af34353baca0811b2d9ab1371375673de0e1a7163eea22bb17cc1d5"
}
system arch=x86-64 os=linux
}
And a fuck derivation build examples/gnu.hello-source.drv examples/gnu.hello.drv, and I have a package!