Guillaume Le Vaillant schreef op wo 05-05-2021 om 08:48 [+0000]: > * gnu/packages/radio.scm (cm256cc): New variable. > [...] > + (replace 'check > + (lambda _ > + (invoke "./cm256_test")))))) I would make this something like > + (lambda (#:key tests? #:allow-other-keys) > + (when tests? > + (invoke "./cm256_test"))) Then "guix build --without-tests=cm256cc cm256cc" can be used for building "cm256cc" without tests, and the "cm256_test" binary won't be invoked when cross-compiling. (I assume it is a binary.) For testing cross-compilation to aarch64-linux-gnu: ./pre-inst-env guix build --target=aarch64-linux-gnu cm256cc Greetings, Maxime.