From: Joe Mooring Date: Tue, 2 Dec 2025 07:44:24 +0000 (-0800) Subject: snap: Address snapcraft deprecations X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=596517a2593f487acea1f170cfd680378e9a34c8;p=brevno-suite%2Fhugo snap: Address snapcraft deprecations --- diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 5f59ef9f3..72672911b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -68,7 +68,7 @@ environment: npm_config_userconfig: $SNAP_USER_DATA/.npmrc pandoc_datadir: $SNAP/usr/share/pandoc PYTHONHOME: /usr:$SNAP/usr - RUBYLIB: $SNAP/usr/lib/ruby/vendor_ruby/3.0.0:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/ruby/vendor_ruby/3.0.0:$SNAP/usr/lib/ruby/vendor_ruby:$SNAP/usr/lib/ruby/3.0.0:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET/ruby/3.0.0 + RUBYLIB: $SNAP/usr/lib/ruby/vendor_ruby/3.0.0:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/ruby/vendor_ruby/3.0.0:$SNAP/usr/lib/ruby/vendor_ruby:$SNAP/usr/lib/ruby/3.0.0:$SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/ruby/3.0.0 # HUGO_SECURITY_EXEC_OSENV # @@ -177,7 +177,7 @@ parts: override-build: | set -ex craftctl default - case "$CRAFT_TARGET_ARCH" in + case "$CRAFT_ARCH_BUILD_FOR" in amd64) arch=x64 ;; arm64) arch=arm64 ;; armhf) arch=arm ;;