(address . bug-guix@gnu.org)
Currently 'guix build' supports '--target=' option to allow cross-compilation,
but 'guix environment' doe not. Sometimes it would be nice to peek at the
environment that 'guix build' creates.
Concrete example:
When debugging 're2' cross-compilation error I used the following command
to build a package:
./pre-inst-env guix build --check re2 --target=alpha-unknown-linux-gnu --no-grafts
I was not sure what does g++ vs. TARGET-g++ means in guix.
Would be nice to have an ability to get exactly build environment as:
./pre-inst-env guix environment re2 --target=alpha-unknown-linux-gnu --no-grafts
Thanks!
--
Sergei
-----BEGIN PGP SIGNATURE-----
iF0EARECAB0WIQSZKa0VG5avZRlY01hxoe52YR/zqgUCWQcdiAAKCRBxoe52YR/z
qt8eAJ9vfK3PEZoyBvN+V2lDFczZixnhwQCfTWJx6d+dvU7YKhf6U+loF+KL7mI=
=L0zn
-----END PGP SIGNATURE-----