bug-guix
[Top][All Lists]
Advanced

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

bug#73451: privileged-program - Wrong type argument in position 1 (expec


From: Tobias Geerinckx-Rice
Subject: bug#73451: privileged-program - Wrong type argument in position 1 (expecting struct)
Date: Tue, 24 Sep 2024 16:35:45 +0000

Hi Giovanni,

(Did you mean to immediately open a bug report?)

On 24 September 2024 14:03:55 UTC, Giovanni Biscuolo via Bug reports for GNU 
Guix <bug-guix@gnu.org> wrote:
>        (append (list (privileged-program
>                       (program (file-append spice-gtk 
> "/libexec/spice-client-glib-usb-acl-helper"))
>                       (setuid? #t))
>                      %default-privileged-programs)))

You should really [configure your editor to] indent your code.

The error will immediately become obvious, and future ones like it will too.  
You meant to write

  (append (list foo)
          %another-list))

not

  (append (list foo %another-list))

which creates that incorrectly nested your Guix is freaking out about.

Kind regards,

T G-R

Sent on the go.  Excuse or enjoy my brevity.





reply via email to

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