GNU bug report logs -
#57757
[PATCH] * gnu/packages/wm.scm: Add sbcl-stumpwm-pamixer
Previous Next
Reported by: Trevor Richards <trev <at> trevdev.ca>
Date: Mon, 12 Sep 2022 21:47:02 UTC
Severity: normal
Tags: patch
Done: Guillaume Le Vaillant <glv <at> posteo.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Maxime Devos <maximedevos <at> telenet.be> writes:
> On 19-09-2022 23:34, Trev wrote:
>>> (arguments
>>> (list #:asd-systems ''(:pa-mixers)
>>> #:phases
>>> #~(modify-phases [...])))
>>>
>>> (i.e., you are removing a layer of quoting by turning the quasiquote
>>> into a quote, so it needs to be readded for the #:asd-systems).
>>>
>> I see a double-quote there with ~''(:pamixer)~ - which is not something
>> I have ever tried to do before. Is this a typo?
>
> No, it's intentional -- if you do '(:pa-mixers), the code (:pa-mixers)
> is passed to the builder, but that can't work, as :pa-mixers is
> undefined (or a keyword, depending on how the Guile reader is
> configured). If you do ''(:pa-mixers), the code '(:pa-mixers) is passed
> to the builder, as intended.
>
> If you change ''(:pa-mixers) to '(pa-mixers), then I expect you'll get a
> build failure.
>
I feel a little silly because after I asked my question I went ahead and
ran a ripgrep on the project root for a pattern of ''( and found
numerous occurences of it. Of course it failed without the double
quote.
Thanks for all of your helpful feedback. I have made notes so that I
can recall these concepts later.
--
Trev : 0FB7 D06B 4A2A F07E AD5B 1169 183B 6306 8AA1 D206
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 243 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.