Ricardo Wurmus <[email protected]> writes: > You run it like this: > > --8<---------------cut here---------------start------------->8--- > ./pre-inst-env guile --no-auto-compile serialize.scm \ > '(@@ (gnu packages statistics) r)' \ > /tmp/foo.go > --8<---------------cut here---------------end--------------->8--- > > You end up with /tmp/foo.go, a little binary which appears to contain > everything you need to play with the closure of the “r” package.
Of course, I’m wrong. I forgot about GUILE_LOAD_PATH and GUILE_LOAD_COMPILED_PATH, which were still active. Unsetting them shows that this doesn’t actually work at all :( I wonder if this is possible at all. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net
