From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: Re: How do I control which guix 'system vm-image' puts into the image? Date: Thu, 21 Jul 2016 16:32:56 -0400 Message-ID: References: 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]:48609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQKgS-0003Mu-Gb for help-guix@gnu.org; Thu, 21 Jul 2016 16:35:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bQKgO-0004wZ-Cy for help-guix@gnu.org; Thu, 21 Jul 2016 16:35:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:55559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bQKgO-0004wS-5W for help-guix@gnu.org; Thu, 21 Jul 2016 16:35:00 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bQKgM-0007K0-4z for help-guix@gnu.org; Thu, 21 Jul 2016 22:34:58 +0200 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jul 2016 22:34:58 +0200 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 21 Jul 2016 22:34:58 +0200 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org myglc2 writes: Please note clarifications ... > Running GuixSD I am using git checkout 'b006ba5 [behind 15] pull: Update > the version string.' with ‘/home/g1/.config/guix/latest’ -> > ‘../../src/guix’ > > When I do 'guix system vm-image'; run the image; and do 'M-x > guix-installed-system-packages' I see a bunch of packages with a "-" > showing in the Synopsis column and "(This package is obsolete)" shows > in the "Outputs" field. > > In an earlier exchange, Alex explained that this means that the version > of the package found in the store _does not match_ the package version > specified by the version of guix in use by emacs. I hope I got that > right :-0 > > 'guix system reconfigure system.scm' seems to be using my git checkout > just fine because with ... > > (with-eval-after-load 'geiser-guile > (add-to-list 'geiser-guile-load-path "~/src/guix")) > > ... in my emacs init file, I don't see any "obsolete" packages when I do > 'M-x guix-installed-system-packages' ... on the "builder" machine on which I created the image. > > So... I developed the theory that 'guix system vm-image' was using a > obsolete version of guix from the store instead of the version in my my > git checkout (confused yet?). > > So I add guix to 'system.scm' ... and used 'guix system reconfigure system.scm' on the "builder" machine ... > to put it in the store in hopes that 'guix > system vm_image' would pick it up from there. I still have "obsolete" > packages showing in my vm-image. > > So... heeeeeere is the question: > > How do I control which version of guix is built into an image? > > TIA - George > > Attached: script (img) used to make and run the vm-image and referenced configs.