Ricardo— On 21 Mar 22:14 Ricardo Wurmus wrote: > > Yes, I added it and then ran > > > > guix package --install-from-file=claws-mail.scm > > > > But that does not do anything. > > That’s because the file does not evaluate to a package. It only causes > the definition of a variable, but does not return any value. > > Add “claws-mail” to the bottom after the package definition to see the > difference.
Thanks, it builds. It makes sense now. In Scheme the (define ...) and similar just define stuff; called a "special form" as opposed to normal expressions like (+ 1 2). (I started reading SICP.) And in "claws-mail" the #:configure-flags evaluates just that, as defined earlier on with a (define-public claws-mail ...). And you know what, adding "--enable-ldap" to the #:configure-flags works as well! In the address book, there is a new menu entry New LDAP Server. Should this be added to the standard claws-mail entry? Or should there be an -ldap flavour, akin to OpenBSD's pkg_* where the user is prompted to install the standard or -ldap or -minimal or whichever flavour? Or should this be left as an exercise to the user? —Marco