services: cuirass: Really allow ‘parameters’ to be a file-like object.

This is a followup to 7238114911.

* gnu/services/cuirass.scm (cuirass-shepherd-service): Turn
‘--parameters=’ bit into a gexp.

Change-Id: I5dd886b90ecea45157873e9c701e34988d6d31cc
This commit is contained in:
Ludovic Courtès 2025-03-21 13:29:18 +01:00
parent 2e942b24c8
commit a9dcd548fb
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -220,9 +220,8 @@
"--listen" #$host
"--port" #$(number->string port)
#$@(if parameters
(list (string-append
"--parameters="
parameters))
(list #~(string-append "--parameters="
#$parameters))
'())
#$@web-extra-options)
@ -259,9 +258,8 @@
(number->string publish-port)))
'())
#$@(if parameters
(list (string-append
"--parameters="
parameters))
(list #~(string-append "--parameters="
#$parameters))
'())
#$@(if trigger-url
(list