guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Storing serialised graph along with packages


From: Ricardo Wurmus
Subject: Re: Storing serialised graph along with packages
Date: Sun, 23 Jul 2017 16:53:36 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

Ricardo Wurmus <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]