diff --git a/trisquel-automatic-netinstall-qemu/libre-en-communs-guix-shell.sh b/trisquel-automatic-netinstall-qemu/libre-en-communs-guix-shell.sh index 15d3fa7..1079a9d 100755 --- a/trisquel-automatic-netinstall-qemu/libre-en-communs-guix-shell.sh +++ b/trisquel-automatic-netinstall-qemu/libre-en-communs-guix-shell.sh @@ -12,6 +12,13 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. +# Libre en communs physical machines have Trisquel and just installed +# Guix through the package manager. So we end up with Guix 1.3.0 which +# doesn't have guix shell. Once Guix is upgraded with 'guix pull', we +# still don't have 'guix shell' without exporting the variables below. +GUIX_PROFILE="${HOME}/.config/guix/current" +. "$GUIX_PROFILE/etc/profile" + # The Libre en communs physical machines lack many packages, so when # this is the case we can simply use Guix to get these packages, but # at the same time resources are also very constrained (because the