On Thu Jul 21, 2022 at 4:46 PM BST, Maxime Devos wrote:Using SHELL_PATH instead of the __guix_bin_sh sounds better, yes. But it's not 'just use -DSHELL_PATH=', we still need to change 'system' appropriately.Why would we need to change it? The glibc definition already uses that macro for the shell path, it's just hard-coded to /bin/sh by default.
If we modify the SHELL_PATH to point to /gnu/store/...-bash-minimal-.../bin/sh, then glibc has a reference to bash-minimal. But bash-minimal uses glibc, so bash-minimal would have a reference to glibc. So you would have to end up with a cycle, which is impossible in Guix.
Greetings,
Maxime.