guix-patches
[Top][All Lists]
Advanced

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

[bug#57717] [DRAFT PATCH core-updates] build-systems: Pass #:allowed-ref


From: Maxime Devos
Subject: [bug#57717] [DRAFT PATCH core-updates] build-systems: Pass #:allowed-references and #:disallowed-references to builders.
Date: Sat, 10 Sep 2022 18:34:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0



On 10-09-2022 18:32, Maxime Devos wrote:


On 10-09-2022 17:26, Marius Bakke wrote:
+                           #:allowed-references #$allowed-references
+                           #:disallowed-references #$disallowed-references

Unless I'm mistaken (I haven't tested this), this will become #:allowed-references ("/gnu/store/..." ...) -- it tries to use a string as a procedure.  Proposal:

#:allowed-references (list #$allowed-references)
#:disallowed-references (list #$disallowed-references)

Correction:

#:allowed-references
#$(and=> allowed-references (lambda (x) #~(list #$@x)))
#:disallowed-references
(list #$@disallowed-references)

(splicing, and allowed-reference is by default #false)

Greetings,
Maxime.

Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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