Hi Mathieu! Mathieu Othacehe skribis: >> So, assuming ‘find-image’ is non-monadic, the code above becomes >> something like: >> >> (system-image >> (image (inherit base-image) >> (size image-size) >> (operating-system >> (with-parameters ((%current-target-system "i586-pc-gnu")) >> os)))) > > I would prefer 'target' to be part of the image itself, as I proposed > here: https://lists.gnu.org/archive/html/guix-devel/2020-05/msg00417.html. > > There's no way for now, that the image is built without cross-compiling > for "i586-pc-gnu", so I think it could be part of the "image" record > itself. > > WDYT? Yes, why not, a ‘target’ field in sounds fine. In general, I think lowerable objects should not be parameterized by target/system. However, is an exception because it needs to access the operating system record, and still use the desired target, if any. Thanks, Ludo’.