Is there a way to have both the snapcraft default and append to it? Rather than just override.
In core20, if I do e.g:
Then this will be appended to the default
$PATH. With the new logic, it’s entirely replaces the default path, and the following doesn’t work.
Where this is more problematic is for
$LD_LIBRARY_PATH, because of the common usage of architecture triplets in file paths, you end up having to resort to using a wrapper script to append the value or else the alternative would be hardcoding the value in a way that would probably only work on a single architecture.
Plus, personally, I liked the old way for being cleaner!