Hi Tomas,

On Thu Jan 22, 2026 at 2:43 PM CET, Tomas Volf wrote:
>> I have a bunch of web services, written in Python using Flask, and I would
>> love to run them as Guix services, but I cannot figure out how to make that 
>> work!?
>> The only example I could put my hands on is `patchwork-service-type`, but 
>> it’s
>> different for it provides its own script to run the web server, 
>> `patchwork-admin`.
> […]
> The way that works for me is to write a wrapper script, that invoked the
> commands required.  And that wrapper scripts is wrapped using
> wrap-program.  I needed to solve this for Guile, not for Python, but I
> imagine the problem is basically identical.

Thanks for sharing!
Your solution looks like the one Edouard suggested. He also created a dedicated 
package
with a wrapper script.


> It would be great if there was some `wrap-program-in-profile' procedure,
> but alas, no such thing exists (currently).

It would indeed! Maybe I’ll contribute something when I’ll have something
that works and is… elegant!

--
Tanguy

Reply via email to