Hi Ludo, A naive question about the default value.
On Thu, 19 Oct 2023 at 16:48, Ludovic Courtès <l...@gnu.org> wrote: > packages: Add ‘system’ parameter for ‘set-guile-for-build’. The change reads, --8<---------------cut here---------------start------------->8--- +(define* (set-guile-for-build guile #:optional system) [...] + (let ((guile (package-derivation store guile + (or system (%current-system))))) --8<---------------cut here---------------end--------------->8--- > profiles: Hooks honor the #:system parameter of ‘profile-derivation’. The change reads for all hooks, --8<---------------cut here---------------start------------->8--- + (define* (efi-bootloader-profile-hook manifest #:optional system) [...] (gexp->derivation "efi-bootloader-profile" build + #:system system --8<---------------cut here---------------end--------------->8--- Do I understand correctly when I consider that ’(efi-bootloader-profile-hook manifest)’ pass #false as ’system’ and then it is ’set-guile-for-build’ that sets ’(%current-system)’? Somehow, my question is about the readability of default values. Why not, #:system (or system (%current-system)) for all the hooks? Cheers, simon