← Back to issue list

Support referencing the stage dir from snapcraft.yaml

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1538688
Type
issue
State
closed
Author
~sergiusens
Labels
Created
Updated
Closed

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Feature request to introduce a SNAPCRAFT_STAGE environment variable for referencing the stage directory. Closed without implementation or discussion, effectively abandoned due to age and lack of maintainer engagement.

Suggested action:

No scores available.

Issue body

Given the use of the after keyword for parts, it is also sometime desired to reference something inside the stage dir; given the execution location and the relocatable fact on building with snapcraft it makes sense to introduce a SNAPCRAFT_STAGE variable that can be used. Here's an example: snapcraft.yaml: ```yaml parts: part1: plugin: autotools source: . configflags: - --with-swig: $SNAPCRAFT_STAGE/usr/swig ```

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Feature request to introduce a SNAPCRAFT_STAGE environment variable for referencing the stage directory. Closed without implementation or discussion, effectively abandoned due to age and lack of maintainer engagement.
qwen/qwen3.6-35b-a3b Closed without implementation or discussion, indicating the feature request was abandoned. The SNAPCRAFT_STAGE variable was not added to snapcraft.
qwen3.6-35b-a3b-mtp-q6 Closed without resolution. The feature request to introduce a SNAPCRAFT_STAGE variable for referencing the stage directory in snapcraft.yaml was abandoned.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.