4 ms·
The package definitions are quite declarative even though the language is imperative, see an example here [1]. For hashes, Spack uses the normalized (comments,
by stabbles 4y ago
The package definitions are quite declarative even though the language is imperative, see an example here [1]. For hashes, Spack uses the normalized (comments, whitespace etc removed) abstract syntax tree.
With Spack it's easier to contribute, you don't have to learn a new language as you need for Nix / Guix.
[1] https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/zstd/package.py#L9-L57 https://github.com/spack/spack/blob/develop/var/spack/repos/...