nix-community / nix-on-droid

Nix-enabled environment for your Android device. [maintainers=@t184256,@Gerschtli]
https://nix-on-droid.unboiled.info
MIT License
1.33k stars 74 forks source link

Is it possible to use packages from different channel in nix-on-droid.nix #392

Closed RudolfVonKrugstein closed 3 months ago

RudolfVonKrugstein commented 3 months ago

I added the nix unstable channel, because I want neovim 0.10. But how can I add packages from a different channel in nix-on-droid.nix?

t184256 commented 3 months ago

On July 24, 2024 7:30:03 AM GMT+03:00, Nathan @.***> wrote:

I added the nix unstable channel, because I want neovim 0.10. But how can I add packages from a different channel in nix-on-droid.nix?

(import <channel-name-you-added-it-as> { }).neovim?

RudolfVonKrugstein commented 3 months ago

yes, thank you! Also found the documentation from Home-Manager, which might help someone else: https://nix-community.github.io/home-manager/index.xhtml#_how_do_i_install_packages_from_nixpkgs_unstable