guix shell --container from Shepherd to run a service

2025-04-06 Thread Attila Lendvai
dear Guix, my ultimate goal is to run Home Assistant (a python based service) from Shepherd. packaging it seems to be too much effort, so i looked into running it in a `guix shell --container`. it works fine when done from the terminal: $ su - hass $ guix shell --manifest=manifest.scm --contai

Re: guix shell --container from Shepherd to run a service

2025-04-06 Thread Attila Lendvai
> I have no idea it this is the cause, but the immediate difference I see > between the terminal (working) and shepherd service (not working) is the > current working directory. In the former case it would be ~hass, in the > latter case it would be /. Guix shell defaults to making CWD available > i

Re: guix pull from private ssh server fails

2025-04-06 Thread Matthew Todd
Hi Guix, Christoph, I can confirm that the patch Christoph links upthread (https://issues.guix.gnu.org/77154) fixes the problem I ran into. Test steps: * Create custom libssh2-1.11.1 package, that inherits Guix channel libssh2 and applies Christoph's fixes. * Build and install the libssh2-1.11

Re: guix shell --container from Shepherd to run a service

2025-04-06 Thread Tomas Volf
Hello Attila, Attila Lendvai writes: > dear Guix, > > my ultimate goal is to run Home Assistant (a python based service) from > Shepherd. > > packaging it seems to be too much effort, so i looked into running it in a > `guix shell --container`. it works fine when done from the terminal: > > $

Re: Emacs dependent package input question

2025-04-06 Thread Nicolas Graves
On 2025-04-05 16:55, Ian Eure wrote: >> I'd argue sometimes it's indeed the better solution, especially >> when >> the core of the package needs the binary to work properly, not >> when it's >> an additional option or feature. I'll refer to that as >> "essential >> binary" in the rest. > > I a

Re: guix shell --container from Shepherd to run a service

2025-04-06 Thread reza
Hi Attila > dear Guix, > > my ultimate goal is to run Home Assistant (a python based service) > from Shepherd. I have a not yet running attempt of home assistant packaged, maybe you would like to have a stab at it? > packaging it seems to be too much effort, so i looked into running it in a > `

Re: Emacs dependent package input question

2025-04-06 Thread Sergio Pastor Pérez
Liliana Marie Prikler writes: > Am Samstag, dem 05.04.2025 um 09:38 -0700 schrieb Ian Eure: >> Hi Guixers, >> >> I’ve seen a few patches for Emacs packages lately which have the >> form: >> >>     (package emacs-whatever >>   (name "emacs-whatever") >>   (description "Emacs interface fo

Re: emacs-git-email: Guix policy for dealing with abandoned packages with active forks

2025-04-06 Thread Suhail Singh
Kierin Bell writes: > Am I missing something, or would the code below do the same thing as > 'emacs-git-email'? Based only on the docstring (haven't reviewed the code), _some_ of the things emacs-git-email does are accounted for. However, it's not clear how some situations are handled: 1. Do p

Re: A different way to build GCC to overcome issues, especially with C++ for embedded systems

2025-04-06 Thread Stefan
Hi Sergio!If you have since we last spoke made a public repository, I would loveto check it out.Thanks for your interest. Indeed, I created a repository meanwhile: < https://git.pub.solar/stefan/embedded-channel >.Hm, I should push my local changes – that repository is already pretty old, but I wou

Re: A different way to build GCC to overcome issues, especially with C++ for embedded systems

2025-04-06 Thread Sergio Pastor Pérez
Stefan writes: > Hi Sergio! > >> I'm very interested in the code for ZMK provided in this thread[1]. >> I've tried it locally and it compiles successfully. > > That's nice to hear! > >> Does anyone know if this is available in a public repository? Or if it has >> been moved forward? > > There is

Re: guix shell --container from Shepherd to run a service

2025-04-06 Thread Attila Lendvai
> I have a not yet running attempt of home assistant packaged, maybe you > would like to have a stab at it? thanks for the heads up, but i'm no expert of the python ecosystem. that's why i decided to first try it this way, instead of attempting to package it. also, HA is updated rather regularl

Re: guix shell --container from Shepherd to run a service

2025-04-06 Thread Rutherther
Hello Attila, > > (simple-service > 'home-assistant > shepherd-root-service-type > (list > (shepherd-service >(requirement '(file-systems networking guix-daemon)) >(provision '(home-assistant)) >(documentation "") >;; TODO herd stop doesn't work. it leaves the process >;

Re: Emacs dependent package input question

2025-04-06 Thread Sarthak Shah
Hi Sergio, I've moved domain names, the final post is at https://blog.coldboot.org/parameterized-packages-the-project-completion-update.html You can find code for the project in this repository: https://notabug.org/cel7t/guix-parameters Additionally, the project completion report: https://github.

Re: guix shell --container from Shepherd to run a service

2025-04-06 Thread Attila Lendvai
> It's hard to judge well without the full source code, but the way you > have it written seems more like that you're using the guix package > declared in the channel rather than the user's guix. (if you weren't, I > wouldn't expect file-append at all, but just something like > "/home/hass-user/.co