From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Storing serialised graph along with packages Date: Sun, 23 Jul 2017 16:53:36 +0200 Message-ID: <8760ej8arz.fsf@elephly.net> References: <87a83waerc.fsf@elephly.net> <87k22z8pq1.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZIGQ-0002bf-CH for guix-devel@gnu.org; Sun, 23 Jul 2017 10:53:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZIGN-0006eu-CB for guix-devel@gnu.org; Sun, 23 Jul 2017 10:53:46 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21146) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dZIGN-0006eG-4m for guix-devel@gnu.org; Sun, 23 Jul 2017 10:53:43 -0400 In-reply-to: <87k22z8pq1.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel Ricardo Wurmus 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