Simon Tournier <zimon.touto...@gmail.com> skribis: > 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)’?
Yes. > Somehow, my question is about the readability of default values. > > Why not, > > #:system (or system (%current-system)) > > for all the hooks? Because that value would be captured at call time rather than at monadic-bind time. See Josselin’s excellent explanation of this trap: https://issues.guix.gnu.org/65225#4-lineno34 HTH! Ludo’.