diff options
Diffstat (limited to 'snap')
-rw-r--r-- | snap/snapcraft.yaml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 6d2d27f5..92b7949e 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -21,17 +21,19 @@ parts: - python3 - snapcraft - gettext + stage-packages: + - python3-magic apps: sos: environment: - PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8/dist-packages + PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8/site-packages:${SNAP}/usr/lib/python3/dist-packages command: bin/sos sosreport: environment: - PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8/dist-packages + PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8/site-packages:${SNAP}/usr/lib/python3/dist-packages command: bin/sos report sos-collector: environment: - PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8/dist-packages + PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8/site-packages:${SNAP}/usr/lib/python3/dist-packages command: bin/sos collector |