diff --git a/charms/argo-controller/charmcraft.yaml b/charms/argo-controller/charmcraft.yaml index 9325e88..b08112b 100644 --- a/charms/argo-controller/charmcraft.yaml +++ b/charms/argo-controller/charmcraft.yaml @@ -12,3 +12,9 @@ bases: parts: charm: charm-python-packages: [setuptools, pip] # Fixes install of some packages + # Following lines are needed due to https://github.com/canonical/charmcraft/issues/1722 + build-snaps: [rustup] + build-packages: [pkg-config, libffi-dev, libssl-dev] + override-build: | + rustup default stable + craftctl default