help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use the laminar service?


From: Marek Paśnikowski
Subject: Re: How to use the laminar service?
Date: Sat, 07 Dec 2024 20:11:59 +0100

On piątek, 6 grudnia 2024 21:02:16 CET Marc Coquand wrote:
> Heya, I'm trying to set up a Ci, and as I'm going through the docs I
> came across the laminar service.
> 
> As far as I understand, with laminar you should have your job scripts in
> its home directory, which is by default /var/lib/laminar, under
> the child directory /cfg/jobs/X.run. The scripts should be executable
> and have permission +X.
> 
> However, looking at the configuration, there is no simple way of
> defining these jobs.
> 
> I tried adding to my config
> 
> (extra-special-file "/var/laminar/cfg/jobs/hello.run"
>                                     (local-file "hello.run"))
> 
> As a very simple test, but it did not work, laminar claims to not find
> hello.run when i run
> 
> Is there a particular way you are supposed to set up jobs with this service?
> 
> Thanks in advance,

I have not put files in services myself yet, but one thing I immediately 
noticed, is that you used the natural path of "/var/laminar/..." .  Try using 
the "/gnu/store/hash-laminar/var/..." by constructing it with, I believe, 
search-input-directory.

https://guix.gnu.org/manual/en/html_node/Build-Utilities.html

Marek Pasnikowski






reply via email to

[Prev in Thread] Current Thread [Next in Thread]