From 85466651b76270bda95f9c245cac839ec427e6f2 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Tue, 4 Oct 2022 10:13:41 -0700 Subject: [PATCH] Snapcraft: Use build-packages --- snap/snapcraft.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index e9acc7e4..ae815b5b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -118,6 +118,14 @@ parts: onionshare-cli: source: ./cli plugin: python + build-packages: + - build-essential + - libssl-dev + - libffi-dev + - python3-dev + - python3-pip + - python3-poetry + - python3-setuptools stage-packages: - build-essential - libssl-dev @@ -126,7 +134,6 @@ parts: - python3-pip - python3-poetry - python3-setuptools - - cargo override-build: | poetry install poetry build