SNAPCRAFT_PART_INSTALL doesn't expand in build-environment assignments

Bug #1822375 reported by 林博仁(Buo-ren, Lin)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

The following assignment doesn't work:

  ```yaml
  parts:
    _part_name_:
      build-environment:
      - PYTHONPATH: $SNAPCRAFT_PART_INSTALL/lib/python3.6
  ```

It'll expand to `/lib/python3.6` in the `override-build` scriptlet.

Refer https://forum.snapcraft.io/t/problems-with-the-parts-part-name-build-environment-property/10642 for discussion.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.