crystal-lang / distribution-scripts

40 stars 24 forks source link

Snap package should use snap configuration to set env variables #75

Open bcardiff opened 3 years ago

bcardiff commented 3 years ago

The following environment variables are used in shards and crystal for some workflows.

The snap package does not support them because of its sandboxing.

The right way to support them is to use snap configuration, and to use snapctl get inside the snap wrapper scripts for crystal and shards.

Ref: https://snapcraft.io/docs/adding-snap-configuration