Compiling Julia scripts

Hi,
are there any resources on how to package Julia scripts/projects into a derivation? With PackageCompiler.jl, there seems to be a compiler, and with julia.withPackages ["GLMakie"] it should be possible to specify all build inputs.

However, I cannot find any examples in the documentation or on github.

Hello again and sorry for my first post, it wasn’t meant to be misleading, I think I can compensate a little by posting a link to julia/nixos discourse which I found with a general internet search, there are also a number of similar topics at the bottom of the article, I must add, however, that I am not a coder and cannot assess how much it is worth to you.

julia post on nixos discourse