trisquel-automatic-netinstall-qemu: make guix shell work after guix pull.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-09-16 02:55:41 +02:00
parent d4b6b56a60
commit 4fd848bbe7
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 7 additions and 0 deletions

View File

@ -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