Skip to content

Commit

Permalink
snap: fix for classic confinement (amber-lang#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyaDghosh committed Aug 24, 2024
1 parent 2b3bb1d commit 921b14a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ parts:
source: .
build-packages:
- yq
build-attributes:
- enable-patchelf
override-pull: |
craftctl default
craftctl set version=$(cat $CRAFT_PART_SRC/Cargo.toml | tomlq -rc '.package.version')
Expand All @@ -31,13 +33,12 @@ parts:
- bc
prime:
- bin/bc
build-attributes:
- enable-patchelf
organize:
usr/bin: bin


apps:
amber-bash:
command: bin/amber
plugs:
- home
- removable-media

0 comments on commit 921b14a

Please sign in to comment.