mirror of
https://codeberg.org/guix/guix.git
synced 2026-09-05 21:31:37 +00:00
This fixes surprising error message like as follows,
which looks like an overlook:
@ unsupported-platform /gnu/store/4xb677bysagk7pl4xba9xz4gzwvsh0zn-guile-bootstrap-2.0.drv x86_64-gnu
while setting up the child process: in phase exec: a `x86_64-gnu' is required to build `x86_64-linux',
but I am a `/gnu/store/4xb677bysagk7pl4xba9xz4gzwvsh0zn-guile-bootstrap-2.0.drv'
* nix/libstore/build.cc (execBuilderOrBuiltin):
Fix the error message when canBuildLocally fails.
Fixes: 3af52f845f ("[...] use std::format instead of boost::format.")
Merges: https://codeberg.org/guix/guix/pulls/10080
Signed-off-by: Nguyễn Gia Phong <cnx@loang.net>