Hi Nicolas, On Sat, 25 Feb 2023 at 11:11, Nicolas Graves via "Development of GNU Guix and the GNU System distribution." <guix-devel@gnu.org> wrote:
> How would you separate inputs from propagated-inputs in this case (and > in Julia in general)? Well, I am not sure to understand the question. Basically, Julia packages require run-time packages and, except very rare cases, we need to specify them via propagated-inputs. The the packages required for running tests are listed with native-inputs. For instance, consider the package julia-tables, it reads: (propagated-inputs (list julia-dataapi julia-datavalueinterfaces julia-iteratorinterfaceextensions julia-tabletraits)) (native-inputs (list julia-datavalues julia-queryoperators)) when Project.toml reads --8<---------------cut here---------------start------------->8--- [deps] DataAPI = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a" DataValueInterfaces = "e2d170a0-9d28-54be-80f0-106bbe20a464" IteratorInterfaceExtensions = "82899510-4779-5014-852e-03e436cf321d" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" TableTraits = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [...] [extras] DataValues = "e7dc6d0d-1eca-5fa6-8ad6-5aecde8b7ea5" QueryOperators = "2aef5ad7-51ca-5a8f-8e88-e75cf067b44b" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" --8<---------------cut here---------------end--------------->8--- Obviously, you need to maintain a hard-coded list of built-in Julia packages as LinearAlgebra, OrderedCollections or Test. Does it make sense for your question? Cheers, simon