Luis Felipe <luis.felipe...@protonmail.com> writes:
> For what it's worth, kicad seems to work for me in a
> container.
> I'm using Guix System with GNOME (guix 4716cea):
>
> __________
> guix shell kicad -E "^DISPLAY$" -E "^XAUTHORITY$"
> --expose="$XAUTHORITY"
> --expose=/tmp/.X11-unix/ --expose=$HOME/.Xauthority
> --expose=/etc/machine-id
> --expose=$HOME/Descargas --expose=/tmp/dbus-fnAz1hb4to
When I submitted a patch to upgrade kicad to 6.0.9 I went ahead
and added gdk-pixbuf as an input.
Now it seems to work well, except in at least one strange case.
I noticed that kicad crashes when I run it in a pure shell with
both kicad and python-ipython:
guix shell --pure kicad python-ipython -- kicad # crashes when you
click on GUI open project icon
guix shell kicad python-ipython -- kicad # does not crash
guix shell --pure kicad -- kicad # does not crash
I do not know if this is a bug in kicad or in the guix package or
something else.
I assume this means that one or more environment variables need to
be set in the pure shell, but I do not know which.
guix shell --pure --check kicad python-ipython -- kicad
guix shell: checking the environment variables visible from shell
'/bin/bash'...
guix shell: All is good! The shell gets correct environment
variables.
guix describe --format=channels
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"48329575c87bbee7166eedf10b1699599e67c49d")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A
54FA")))))