Hi again,

Maxim Cournoyer <[email protected]> writes:

> Hi,
>
> If you'd like a capable and reproducible environment to easily build and
> hack on the Jami sources, here are some steps from my own experiment.
>
> From the root of the Jami project checkout, using a recent Guix at
> commit c087d1d:
>
> guix shell -CFN -E GTK_DATA_PREFIX \
>   -E QT_QPA_PLATFORM -E XAUTHORITY \
>   -E XCURSOR_PATH -E ^XDG -E WAYLAND_DISPLAY \
>   -E TARBALLS --share=$HOME --share=/run --share=/scratch \
>   qt-creator qtwayland -m manifest.scm -- qtcreator

Small fix for the above: to have access to a video camera (e.g., webcam)
in the container, /dev and /sys must also be shared, so the command
becomes:

--8<---------------cut here---------------start------------->8---
guix shell -CFN -E GTK_DATA_PREFIX \
  -E QT_QPA_PLATFORM -E XAUTHORITY \
  -E XCURSOR_PATH -E ^XDG -E WAYLAND_DISPLAY \
  -E TARBALLS --share=$HOME --share=/run --share=/scratch \
  --share=/dev --share=/sys \
  qt-creator qtwayland -m manifest.scm -- qtcreator
--8<---------------cut here---------------end--------------->8---

-- 
Thanks,
Maxim

Reply via email to