Expose the build base name in snapcraft.yaml
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### What needs to get done
I would like to access the build base name (e.g. `core22`) in other sections (e.g. environment and parts) of the `snapcraft.yaml` to avoid hardcoding and duplication.
### Why it needs to get done
I have these two use-cases but I'm sure there are also others:
1. I need to reference the build base in an environment variable
(`OPENSSL_MODULES: /snap/core22/current/usr/lib/x86_64-linux-gnu/ossl-modules-3/`)
2. I need to manually modify a path in a parts `override-build` based on the build base
Evaluation history
No evaluation history available.