Re: Does it make sense to package debops?
Hartmut Goebel writes: > I just wonder whether I should package debops, a collection of ansible > roles for managing Debian systems. > > Shall I? I for one would greatly appreciate this since I run guix and am using debops to manage other systems. So if you do, that would be great! On a side note, would you know how one could use debops from a guix system in the meanwhile?
Re: Updating a package
>> ./pre-inst-env guix build emacs-exwm > >> Should I do this after updating a package? make check to check all tests >> pass? > > In this case not really--since "make check" tests guix the package manager. > You didn't change the package manager, so it wouldn't help. > >>Or rather the CI does that? > > The CI does that and then it also builds all the other packages, not just > guix the package manager. > >> Secondly, how do I go about testing this package on my system (laptop >> running guix) to see if the updated package actually works? > > ./pre-inst-env guix package -i emacs-exwm > > The package is then installed into your profile and you can just use it like > any other packages installed in your profile. > >> I've done this in channels.scm >> >> (list >> (channel >>(name 'guix) >>(url "https://gitlab.com/divansantana/guix/";) >>(branch "master"))) >> >> And then updated to my fork, though not sure if that is the best way. > > That would work as well--but sounds like a lot of work. It is nicer to > do it your way if you want to *keep* your package across updates if > it doesn't make it into the main repository. Otherwise I don't think > your way gives you any advantage over just installing the package. Great thanks!
Updating a package
Hi Guix, I'm trying to go about updating a package and submitting a patch. A good learning process for me. I managed to update the package, emacs-exwm and to build it successfully via: ./pre-inst-env guix build emacs-exwm Few Qs: Should I do this after updating a package? make check to check all tests pass? Or rather the CI does that? Secondly, how do I go about testing this package on my system (laptop running guix) to see if the updated package actually works? I've done this in channels.scm (list (channel (name 'guix) (url "https://gitlab.com/divansantana/guix/";) (branch "master"))) And then updated to my fork, though not sure if that is the best way. I suppose it may be better to test these things in a vm via guix vm. Thanks!
Re: GuixSD on librem phone?
swedebu...@riseup.net writes: > I would like to know if there is any interest in this? I'd be interested. I bought the librem 5. Hope it turns out well.
Re: Blog: Guix packaging tutorial
Pierre Neidhardt writes: > Divan writes: >> Off topic, but how did you convert this? Guessing pandoc, but it seems >> converted better then the standard, =pandoc index.org -t gfm -o >> /tmp/index.md= would do. > > This is a very good question. Indeed, Org support in Pandoc is sub-par, so I > did not use that. Instead, I've used Emacs directly and its > ~(org-md-export-to-markdown)~ function. But even then, the export result > lacked > a few elements, such as fenced code language tag or the header. > So I wrote a wrapper script to fix that automatically for me. > It's not very generic but it's a starting point. > > Here is the implementation: > > > https://gitlab.com/ambrevar/ambrevar.gitlab.io/tree/master/source/guix-packaging This is really great and handy. I'll certainly be using this. Would be great to package something like in emacs community. A blog about converting back and forth between org and markdown would be welcome to many in the Emacs community. :) I'm slow to get around to completing your guix packaging tutorial. As a complete noob I'm very interested in this and keen to submit a few basic packages there after.
Re: Customize GuixSD: Use Stock SSH Agent Everywhere!
Divan Santana writes: >> Chris contributed an article showing a neat hack to get ssh-agent >> running on GNOME in lieu of GNOME Keyring’s custom implementation: >> >> >> https://www.gnu.org/software/guix/blog/2018/customize-guixsd-use-stock-ssh-agent-everywhere/ >> >> Enjoy! And thanks Chris! > > Thanks very much Chris. This is really appreciated. > > Super useful and just what I was looking for. > > These sort of articles are great for new comers like me. > > Only... I can't get it to work. lol > > When I place this file in my home: > > ~/ ᐅ ll .xsession > -rwxr-xr-x 1 admin users 91 May 28 21:12 .xsession > ~/ ᐅ cat .xsession > #!/run/current-system/profile/bin/bash > > # start ssh-agent system wide. > exec ssh-agent "$@" > > The login crashes from slim. > > How do I debug it? > > slim.log contains nothing useful. Also don't see anything in xorg log. > > Removing the file, I can login again. > > Bit puzzled. OK so I figured out what was the issue. I had to install the packages system wide. Perhaps some i3 or x related packages? Most of my packages were only installed in my user profile. Speaking of which, are there tips/advise on advantages/disadvantages of installing certain packages system wide vs in a user profile? Or multiple user profiles. -- Divan
Re: Customize GuixSD: Use Stock SSH Agent Everywhere!
> Chris contributed an article showing a neat hack to get ssh-agent > running on GNOME in lieu of GNOME Keyring’s custom implementation: > > > https://www.gnu.org/software/guix/blog/2018/customize-guixsd-use-stock-ssh-agent-everywhere/ > > Enjoy! And thanks Chris! Thanks very much Chris. This is really appreciated. Super useful and just what I was looking for. These sort of articles are great for new comers like me. Only... I can't get it to work. lol When I place this file in my home: ~/ ᐅ ll .xsession -rwxr-xr-x 1 admin users 91 May 28 21:12 .xsession ~/ ᐅ cat .xsession #!/run/current-system/profile/bin/bash # start ssh-agent system wide. exec ssh-agent "$@" The login crashes from slim. How do I debug it? slim.log contains nothing useful. Also don't see anything in xorg log. Removing the file, I can login again. Bit puzzled. -- Divan