derivation gnu.hello-2.12.3 {
source {
derivation "/sickos/<hash>-hello-2.12.3.tar.gz.drv"
hash algo=blake3 "..."
}
build-system shell #"""..."""#
output out {
path "/sickos/<hash>-hello-2.12.3"
hash algo=blake3 "..."
}
derivation gnu.hello-2.12.3-source {
source {
shell {
command "/usr/bin/curl" ...
}
hash algo="blake3" "..."
}
build-system identity
output out {
path "/sickos/<hash>-hello-2.12.3.tar.gz"
hash algo=blake3 "..."
}
}
I think this can work.
Questions about laziness, macros, namespacing, parameters, and suchlike. Yes, very vague, but the questions themselves are more of a feeling in my head than questions I can actually describe or ask.
It's complicated.