summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Pope <alan@popey.com>2020-05-07 01:29:09 +0100
committerGitHub <noreply@github.com>2020-05-06 20:29:09 -0400
commitee63a4fa32f929647883464bee6e9b0896333ab0 (patch)
tree732812b57e1da36edf2b6e6a2832d6c8a1636d80
parent108193103d45d2ebf3bbaab577ffb6ce83133eac (diff)
fix: snap build failure (#1177)
-rw-r--r--snapcraft.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 0185f4157..abd4fad3a 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -50,6 +50,9 @@ parts:
plugin: rust
source: https://github.com/starship/starship.git
#source-tag: v$SNAPCRAFT_PROJECT_VERSION
+ build-packages:
+ - libssl-dev
+ - pkg-config
override-build: |
last_committed_tag="$(git describe --tags --abbrev=0)"
last_committed_tag_ver="$(echo ${last_committed_tag} | sed 's/v//')"