Re: A friendlier API for operating-system declarations

2023-03-23 Thread Liliana Marie Prikler
Am Donnerstag, dem 23.03.2023 um 09:06 +0100 schrieb Edouard Klein: > After a few months of experience, and positive feedback from my > clients, my question to you guys is: would you be interested in > mainlining this, or should I keep my development efforts separate in > my channel ? Having just d

Re: A friendlier API for operating-system declarations

2023-03-23 Thread Edouard Klein
Hi Josselin, Josselin Poiret writes: > [[PGP Signed Part:Undecided]] > Hi Edouard, > > Edouard Klein writes: > >> #+begin_src scheme >> (-> >> (minimal-ovh "ssh-rsa AAASomethingSomething== root@minimal-ovh") >> (http-static-content "sub2.example.com" #:to-dir "/srv/sub2") >> (http-static-con

Re: Hello Guix!

2023-03-23 Thread (
On Tue Mar 21, 2023 at 11:21 AM GMT, Vijaya Anand wrote: > I am Vijaya Anand, a mathematics undergraduate studying in IITK, India. I > am interested in the topics distributed systems and cryptography and have > been self-reading on these topics a lot recently. I wanted to participate > in GSoC this

Guix QA: build status "unknown"

2023-03-23 Thread Andy Tai
I don't know if it is just me, but Guix QA recently seems to always show build status unknown when what really happens was the build succeeds on both x86-64 and aarch64 but on other platforms it was in "scheduled" state but the scheduled build never actually got run. In any case thanks to the rev

Re: A friendlier API for operating-system declarations

2023-03-23 Thread Josselin Poiret
Hi Edouard, Edouard Klein writes: > #+begin_src scheme > (-> > (minimal-ovh "ssh-rsa AAASomethingSomething== root@minimal-ovh") > (http-static-content "sub2.example.com" #:to-dir "/srv/sub2") > (http-static-content "sub1.example.com" #:to-dir "/srv/sub1/") > (add-services my-db)) > #+end_src

Re: more package transformations: overrides

2023-03-23 Thread Ricardo Wurmus
Maxim Cournoyer writes: >> Considering that the transformations API assumes that you understand >> that higher order functions exist and what to do with them, I think it >> would be good to offer a slightly less advanced method of overriding >> packages. >> >> Manifests can do anything, but thi

proper way to satisfy service dependencies

2023-03-23 Thread Vladilen Kozin
Hi. When I have a package whose only purpose in life is to be started as daemon by e.g. Shepherd how would I satisfy its binary dependencies when defining a service? For packages this is normally part of their (inputs ...) slot, but IIUC this only makes it so these dependencies will be added to th

Re: shepherd service works on host but fails inside system container

2023-03-23 Thread Vladilen Kozin
I guess capabilities aren't handled by container creation code yet: https://github.com/guix-mirror/guix/blob/master/gnu/build/linux-container.scm#L262 IIUC this would also effect the idea of isolating system services as described in https://guix.gnu.org/en/blog/2017/running-system-services-in-con

Hello Guix!

2023-03-23 Thread Vijaya Anand
Hi Everyone, I am Vijaya Anand, a mathematics undergraduate studying in IITK, India. I am interested in the topics distributed systems and cryptography and have been self-reading on these topics a lot recently. I wanted to participate in GSoC this summer and while browsing some interesting organiz

shepherd service works on host but fails inside system container

2023-03-23 Thread Vladilen Kozin
Hello guix. I put together a tailscale system service that's meant to start a tailscale daemon managed by the system shepherd, that is to say that my `tailscaled-service-type` specifies `(service-extension shepherd-root-service-type tailscaled-shepherd-service)`, where `tailscaled-shepherd-service

GSoC 2023 | Web Interface to Configure Guix

2023-03-23 Thread Malik Talha
Hello there, I hope you are doing well. I am Malik Talha, a final-year student at the National University of Computer & Emerging Sciences (FAST), pursuing an undergraduate in Computer Science.' I am interested to design and develop a web-based interface to enable the configuration of Guix systems

Re: shepherd service works on host but fails inside system container

2023-03-23 Thread Vladilen Kozin
I now have a hypothesis as to what's happening. Could someone confirm or disprove and maybe suggest a solution or point at existing workarounds. Host and container will share the exact same kernel that's unsurprisingly already running, so the above has nothing to do with kernel modules or settings

[PATCH] gnu: Add tree-sitter-heex.

2023-03-23 Thread ivan-p-sokolov
gnu/packages/tree-sitter.scm (tree-sitter-heex): New variable. --- gnu/packages/tree-sitter.scm | 7 +++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/tree-sitter.scm b/gnu/packages/tree-sitter.scm index 8dda7737ca..b91345bb36 100644 --- a/gnu/packages/tree-sitter.scm +++ b/gnu/pa

A friendlier API for operating-system declarations

2023-03-23 Thread Edouard Klein
Dear Guixers, For my clients and my own use, I use a layer on top of operating-system declarations in which I create functions that take an os as a first argument, and return an os. With the help of the handy -> macro, I can chain them, thus allowing an easy stacking of multiple "roles" or "funct