flathub-infra / ide-flatpak-wrapper

Wrapper for setting up development environment in flatpak sandbox
MIT License
15 stars 13 forks source link

Support New Version of Rust Nightly SDK #25

Open da2ce7 opened 2 months ago

da2ce7 commented 2 months ago

The new version of rust nightly sdk is not supported with the: FLATPAK_ENABLE_SDK_EXT environmental variable.

https://github.com/flathub/org.freedesktop.Sdk.Extension.rust-nightly/issues/1262#issuecomment-2282860106

Neither dose using the manual adjustment of the path work: i.e:

flatpak run --env=PATH=/usr/lib/sdk/rust-nightly/extra/sdk/rust-nightly/bin:/app/bin:/usr/bin com.visualstudio.code

Can I please have some help in launching vscode with the rust nighty sdk?

da2ce7 commented 2 months ago

Update:

flatpak run --env=PATH=/usr/lib/sdk/rust-nightly/extra/sdk/rust-nightly/bin:/app/bin:/usr/bin com.visualstudio.code

works, but I'm unsure about changing the path for the ide like this...