From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: Re: is it me ? Date: Sun, 07 May 2017 08:12:39 -0400 Message-ID: <86d1bkamrs.fsf@gmail.com> References: <87d1br39r8.fsf@gmail.com> <86k25zm6fw.fsf@gmail.com> <86d1bpn4h9.fsf@gmail.com> <86h90yagc0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7L3O-00020R-Mh for help-guix@gnu.org; Sun, 07 May 2017 08:12:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7L3L-0005rn-7B for help-guix@gnu.org; Sun, 07 May 2017 08:12:46 -0400 Received: from mail-qt0-x22b.google.com ([2607:f8b0:400d:c0d::22b]:32928) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7L3L-0005qT-3d for help-guix@gnu.org; Sun, 07 May 2017 08:12:43 -0400 Received: by mail-qt0-x22b.google.com with SMTP id t26so17139029qtg.0 for ; Sun, 07 May 2017 05:12:41 -0700 (PDT) In-Reply-To: (catonano@gmail.com's message of "Sat, 6 May 2017 09:33:23 +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: Catonano Cc: help-guix On 05/06/2017 at 09:33 Catonano writes: > 2017-05-06 4:07 GMT+02:00 myglc2 : > > On 05/05/2017 at 18:01 Catonano writes: > > > 2017-05-03 21:08 GMT+02:00 myglc2 : > > > > On 05/03/2017 at 18:05 Catonano writes: > > > > > 2017-05-02 20:58 GMT+02:00 myglc2 : > > > > > > As it stands, your video is a great sanity check for someone wondering > > > if their emacs-guix environment is working properly. It is also a great > > > demonstration of how easy it is for a guix user to see and, with a git > > > checkout, modify a package. > > > > > > If you expanded it a bit to illustrate a few > > > more guix-edit/geiser features, it could be a great addition to the > > > guix-video-verse, and, IMO, a good thing to add to www.gnu.or > > > > > > Which eatures, exactly, you would like to be showed ? > > > > How about a scenario like this, all done from within emacs-guix running > > against a git checkout ... > > > > - find a package > > > > - install it > > > > - observe how it is working > > > > - consider changing a config flag > > > > - 'M-x Guix edit ' > > > > - download the source: 'C-u . s' > > > > I didn't kknow this one ! > > > > - copy the package source out of the store (there is probably a better > > thing to do here) > > > > - in source: './configure --help' to see config options > > > > - 'M-x Guix edit ' & modify #:configure-flags > > > > I think you can't modify a package in place. In fact, with guix edit > > it gets open as ead only > > > > As far as I understand, you should clone it locally, edit the copy in that clone, build it, install it with ./pre-inst-env in that clone > > > > If that's not too pettifogging for you, i could try > > Well, the scenario I outlined assumed running from a 'guix git checkout' > > No. I don't know how to run the Emacs guix-* commands on a checkout > > because I had the impression that you were running that way. But it may > be overkill for many users and it really might be better to create a > demo using a 'guix pull' setup. This could focus on using emacs-guix to > find, build, install, and inspect packages. > > That I can do > > It could also demonstrate > editing the system config, reconfiguring the system, creating a user > manifest and running 'guix package -m user.scm' > > That, I'm not sure I can do. I never created a manifest and I never run guix pakage - a-file.scm > > Would you mind to write done the relevant commands for me ? I have attached the user config manifest I am currently using. I apply it with ... guix package -m g1.scm ... you can also invoke this using the emacs-guix 'M-x guix' popup, which might be nicer to show in the demo. > I hope someone reading this will suggest such a package ;-) > > Right, I'm open to suggestions > > > - build the package: 'C-u . b' > > > > This one, for example, would require you to run the emacs-guix facilities on a local clone and I don't know how to do that > > > > I remember Ludo doing this in a footage but I could use a reminder. > > > > Thanks again > > Right. And I am happy to share my git checkout config with you if that > would help. > > I'm not sure I understand, here. I mean that I am running guix from a git checkout. There are a few different approaches to doing this. I can outline the approach that I use when you want it. > Have you a system configuration that builds a system based on a guix git checkout ? > I can't do that, either. I'd love to see it Hmm, I guess I don't know if you running GuixSD or Guix on another GNU/Linux OS. I was assuming you are running GuixSD and I was referring to doing ... guix system reconfigure sys.scm If you are running guix/GNU/Linux then you won't be able to include this in the demo. > But... would you want to first do the 'git pull' based demo? > > Yes. The git chheckout could be a second step Great, sounds like a good plan > Thanks for your help ! YW - George