-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use this together with org.freedesktop.Sdk.Extension.rust-stable? #282
Comments
You would need to run your app with the envionment variable enumerating SDKs to enable. Here's my wrapper for using NeoVim: #!/bin/sh
FLATPAK_ENABLE_SDK_EXT=rust-nightly flatpak run io.neovim.nvim $@ |
@orangecms That's really not great for DX... |
Agreed, the whole Ubuntu + Flatpak UX just sucks. Having to figure that Ubuntu's NeoVim is outdated is how I ended up installing the FlatPak variant in the first place. Then I had to figure out that it loads the configuration from some other directoy buried down in |
@orangecms Offtopic, but you can consider using https://github.com/containers/toolbox or https://github.com/openSUSE/microos-toolbox to easily run a dev container, while having access to your home directory. EDIT: Looks like there's https://github.com/89luca89/distrobox too... |
When installing using
rustup
, it's possible to install both stable and nightly at the same time, and selecting a default (e.g. stable). Furthermore, it's possible to select a different version using e.g.cargo +nightly ...
(apparently this functionality is provided byrustup
)This would be a great DX improvement for using Rust in Flatpak.
The text was updated successfully, but these errors were encountered: