From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: is it me ? Date: Sun, 14 May 2017 09:16:29 +0200 Message-ID: References: <87d1br39r8.fsf@gmail.com> <86k25zm6fw.fsf@gmail.com> <86d1bpn4h9.fsf@gmail.com> <86h90yagc0.fsf@gmail.com> <86d1bkamrs.fsf@gmail.com> <86mvajwh9l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403045c0d04b3a165054f76b774" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9nlb-00028x-24 for help-guix@gnu.org; Sun, 14 May 2017 03:16:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9nlZ-0006ZG-EX for help-guix@gnu.org; Sun, 14 May 2017 03:16:35 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:37055) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9nlZ-0006X3-40 for help-guix@gnu.org; Sun, 14 May 2017 03:16:33 -0400 Received: by mail-wm0-x235.google.com with SMTP id d127so45380304wmf.0 for ; Sun, 14 May 2017 00:16:31 -0700 (PDT) In-Reply-To: <86mvajwh9l.fsf@gmail.com> 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: myglc2 Cc: help-guix --f403045c0d04b3a165054f76b774 Content-Type: text/plain; charset="UTF-8" 2017-05-11 17:21 GMT+02:00 myglc2 : > On 05/09/2017 at 18:44 Catonano writes: > > > 2017-05-07 14:12 GMT+02:00 myglc2 : > > > > 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. > > > > Oh I see now. Thanks ! > > > > > 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. > > > > Yes, I' d like you to outline the approaches you are referring > > to. Thanks > > Hi, I just posted (and ccd you) my setup on another thread. Please let > me know if you have questions. > Thank youu verrry much ! > > > What I mean is that if I invoke the Emacs Guix commands, they will > > show the host guix installation > > > I run on a headless server, so I don't have personal experience with a > desktop installation, but I don't believe the limitation you describe > actually exists. > > Please try the setup that I posted. I think you will find that it allows > you to do this. > George, thank you so much for this suggestion, I hadn't considered this would have been possible. Does the manual mention this anywhere ? Otherwise the hypotetical footage would suggest this out of the blue and that could be disorienting to someone who is learning. But it's a very nifty trick ! Thanks ! --f403045c0d04b3a165054f76b774 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2017-05-11 17:21 GMT+02:00 myglc2 <myglc2@gmail.com>= ;:
On 05/09/201= 7 at 18:44 Catonano writes:

> 2017-05-07 14:12 GMT+02:00 myglc2 <myglc2@gmail.com>:
>
>=C2=A0 On 05/06/2017 at 09:33 Catonano writes:
>
>=C2=A0 > 2017-05-06 4:07 GMT+02:00 myglc2 <myglc2@gmail.com>:
>=C2=A0 >
>=C2=A0 > On 05/05/2017 at 18:01 Catonano writes:
>=C2=A0 >
>=C2=A0 > > 2017-05-03 21:08 GMT+02:00 myglc2 <myglc2@gmail.com>:
>=C2=A0 > >
>=C2=A0 > > On 05/03/2017 at 18:05 Catonano writes:
>=C2=A0 > >
>=C2=A0 > > > 2017-05-02 20:58 GMT+02:00 myglc2 <myglc2@gmail.com>:
>=C2=A0 > > >
>=C2=A0 > > > As it stands, your video is a great sanity check = for someone wondering
>=C2=A0 > > > if their emacs-guix environment is working proper= ly. It is also a great
>=C2=A0 > > > demonstration of how easy it is for a guix user t= o see and, with a git
>=C2=A0 > > > checkout, modify a package.
>=C2=A0 > > >
>=C2=A0 > > > If you expanded it a bit to illustrate a few
>=C2=A0 > > > more guix-edit/geiser features, it could be a gre= at addition to the
>=C2=A0 > > > guix-video-verse, and, IMO, a good thing to add t= o www.gnu.or
>=C2=A0 > > >
>=C2=A0 > > > Which eatures, exactly, you would like to be show= ed ?
>=C2=A0 > >
>=C2=A0 > > How about a scenario like this, all done from within e= macs-guix running
>=C2=A0 > > against a git checkout ...
>=C2=A0 > >
>=C2=A0 > > - find a package
>=C2=A0 > >
>=C2=A0 > > - install it
>=C2=A0 > >
>=C2=A0 > > - observe how it is working
>=C2=A0 > >
>=C2=A0 > > - consider changing a config flag
>=C2=A0 > >
>=C2=A0 > > - 'M-x Guix edit <package>'
>=C2=A0 > >
>=C2=A0 > > - download the source: 'C-u . s'
>=C2=A0 > >
>=C2=A0 > > I didn't kknow this one !
>=C2=A0 > >
>=C2=A0 > > - copy the package source out of the store (there is p= robably a better
>=C2=A0 > > thing to do here)
>=C2=A0 > >
>=C2=A0 > > - in <package> source: './configure --help&#= 39; to see config options
>=C2=A0 > >
>=C2=A0 > > - 'M-x Guix edit <package>' & modify= #:configure-flags
>=C2=A0 > >
>=C2=A0 > > I think you can't modify a package in place. In fa= ct, with guix edit
>=C2=A0 > > it gets open as ead only
>=C2=A0 > >
>=C2=A0 > > As far as I understand, you should clone it locally, e= dit the copy in that clone, build it, install it with ./pre-inst-env in tha= t clone
>=C2=A0 > >
>=C2=A0 > > If that's not too pettifogging for you, i could tr= y
>=C2=A0 >
>=C2=A0 > Well, the scenario I outlined assumed running from a 'g= uix git checkout'
>=C2=A0 >
>=C2=A0 > No. I don't know how to run the Emacs guix-* commands o= n a checkout
>=C2=A0 >
>=C2=A0 > because I had the impression that you were running that way= . But it may
>=C2=A0 > be overkill for many users and it really might be better to= create a
>=C2=A0 > demo using a 'guix pull' setup. This could focus on= using emacs-guix to
>=C2=A0 > find, build, install, and inspect packages.
>=C2=A0 >
>=C2=A0 > That I can do
>=C2=A0 >
>=C2=A0 > It could also demonstrate
>=C2=A0 > editing the system config, reconfiguring the system, creati= ng a user
>=C2=A0 > manifest and running 'guix package -m user.scm'
>=C2=A0 >
>=C2=A0 > That, I'm not sure I can do. I never created a manifest= and I never run guix pakage - a-file.scm
>=C2=A0 >
>=C2=A0 > Would you mind to write done the relevant commands for me ?=
>
>=C2=A0 I have attached the user config manifest I am currently using. I= apply
>=C2=A0 it with ...
>
>=C2=A0 guix package -m g1.scm
>
>=C2=A0 ... you can also invoke this using the emacs-guix 'M-x guix&= #39; popup,
>=C2=A0 which might be nicer to show in the demo.
>
> Oh I see now. Thanks !
>
>=C2=A0 > I hope someone reading this will suggest such a package ;-)=
>=C2=A0 >
>=C2=A0 > Right, I'm open to suggestions
>=C2=A0 >
>=C2=A0 > > - build the package: 'C-u . b'
>=C2=A0 > >
>=C2=A0 > > This one, for example, would require you to run the em= acs-guix facilities on a local clone and I don't know how to do that >=C2=A0 > >
>=C2=A0 > > I remember Ludo doing this in a footage but I could us= e a reminder.
>=C2=A0 > >
>=C2=A0 > > Thanks again
>=C2=A0 >
>=C2=A0 > Right. And I am happy to share my git checkout config with = you if that
>=C2=A0 > would help.
>=C2=A0 >
>=C2=A0 > I'm not sure I understand, here.
>
>=C2=A0 I mean that I am running guix from a git checkout. There are a f= ew
>=C2=A0 different approaches to doing this. I can outline the approach t= hat I
>=C2=A0 use when you want it.
>
> Yes, I' d like you to outline the approaches you are referring
> to. Thanks

Hi, I just posted (and ccd you) my setup on another thread. Ple= ase let
me know if you have questions.

Thank yo= uu verrry much !

=C2=A0

> What I mean is that if I invoke the Emacs Guix co= mmands, they will
> show the host guix installation


I run on a headless server, so I don't have personal experience = with a
desktop installation, but I don't believe the limitation you describe actually exists.

=C2=A0
Please try the setup that I posted. I think you will f= ind that it allows
you to do this.

George, thank you so=C2= =A0 much for this suggestion, I hadn't considered this would have been = possible.

Does the manual mention this anywhere ?

=
Otherwise the hypotetical footage would suggest this out of the = blue and that could be disorienting to someone who is learning.

But it's a very nifty trick !
Thanks !
--f403045c0d04b3a165054f76b774--