[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55042: python-scipy breaks login on foreign distro
From: |
Maxim Cournoyer |
Subject: |
bug#55042: python-scipy breaks login on foreign distro |
Date: |
Thu, 21 Apr 2022 11:40:13 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi Simon,
zimoun <zimon.toutoune@gmail.com> writes:
> Hi,
>
> Running Guix on the top of Ubuntu, GDM refuses to log in if the package
> “python-scipy” is installed and its profile sourced.
>
> Basically, consider
>
> mkdir -p ~/.config/guix/profiles
> guix package -i python-scipy -p ~/.config/guix/profiles/python
>
> Then also consider that the file ~/.bash_profile contains:
>
> GUIX_PROFILE=~/.config/guix/profiles/python
> . $GUIX_PROFILE/etc/profile
>
>
> which basically export:
>
> export
> PATH="${GUIX_PROFILE:-/gnu/store/qij79rxcr8jpjzh1rqv63ckajvivdxfn-profile}/bin${PATH:+:}$PATH"
> export
> XDG_DATA_DIRS="${GUIX_PROFILE:-/gnu/store/qij79rxcr8jpjzh1rqv63ckajvivdxfn-profile}/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS"
> export
> GI_TYPELIB_PATH="${GUIX_PROFILE:-/gnu/store/qij79rxcr8jpjzh1rqv63ckajvivdxfn-profile}/lib/girepository-1.0${GI_TYPELIB_PATH:+:}$GI_TYPELIB_PATH"
> export
> GUIX_PYTHONPATH="${GUIX_PROFILE:-/gnu/store/qij79rxcr8jpjzh1rqv63ckajvivdxfn-profile}/lib/python3.9/site-packages${GUIX_PYTHONPATH:+:}$GUIX_PYTHONPATH"
It's probably XDG_DATA_DIRS; could you try unsetting it? See the old
bug #26202, which looks like a duplicate to me.
Thanks,
Maxim