naersk
mobile-nixos
naersk | mobile-nixos | |
---|---|---|
6 | 13 | |
650 | 740 | |
2.0% | 3.0% | |
5.6 | 8.8 | |
17 days ago | 3 days ago | |
Nix | C | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
naersk
-
Help with building a 32bit library with cargo
i would also recommend using crane or naersk since iirc rustPlaform.buildRustPackage can mangle some of these options (or maybe i just did something wrong lol)
-
Nix & Rust - cargo2nix 0.11.0 released
Have a look at naersk, it neither requires generated Nix files nor IFD.
-
Nix and NixOS Get So Close to Perfect
We use naersk[0] for Rust projects in our Nix monorepo (for example [1]). It's pretty hands-off in terms of the Nix code needed (you don't need to pin hashes inside of the Nix code as long as you have a Cargo lockfile) and all the existing tooling keeps working fine.
The main drawback of it is that it currently builds all of your dependencies in one big derivation, so any dependency changes cause a full rebuild. There's some other project I saw fly by which attempts to do a similar thing but split each crate into a separate derivation, but I forgot what it's called and have no experience with it.
[0]: https://github.com/nix-community/naersk
[1]: https://cs.tvl.fyi/depot/-/blob/ops/journaldriver/default.ni...
-
Nixery – Docker images on the fly with Nix
You can also use naersk¹ if you want to avoid a two-step process. It's especially convenient when using nix flakes.
¹https://github.com/nix-community/naersk
-
niv, naersk, napalm: moving on
I created https://github.com/nmattia/napalm/issues/34 and https://github.com/nmattia/naersk/issues/183 to move them to nix-community
-
Nix-ifying a Rust project
sounds exactly like what naersk does. naersk doesn't need a cargSha256 argument since it downloads dependencies from Cargo.lock. it can also grab the version number from Cargo.toml
mobile-nixos
- Mobile NixOS – NixOS, on your phone
-
Support for Linux distributions added to customrombay.org
For now, only information about Ubuntu Touch support is available on our website. We plan to extend that to PostmarketOS and NixOS. But which devices does Ubuntu Touch support? For example those:
-
Nix-on-droid: Nix-enabled environment for your Android device (termux-based)
Github has more recent activity: https://github.com/NixOS/mobile-nixos
- Nix-Powered Development with OCaml
-
Towards a reproducible F-Droid
NixOS/mobile-nixos
-
Just discovered this project. Interesting! Couple basic questions
Any nixos users here? Anyone have any luck running mobile nixos?
-
Nixery – Docker images on the fly with Nix
samueldr has been doing a lot of work in that direction. See https://mobile.nixos.org/
-
Today I learned that you can run nixos on a mobile phone
With the code from https://github.com/NixOS/mobile-nixos/pull/445, build the demo example with nix-build --argstr device pine64-pinephonepro -A outputs.temp-tow-boot-install-script examples/demo/; of course instead of example/demo you can have your own configuration, but I started with demo
- Wir schreiben für das c't-Magazin über Linux - fragt uns alles! [Beginn um 17 Uhr]
-
Mobile NixOS for Phones and Tablets
https://github.com/NixOS/mobile-nixos/pull/361
Though you might want to ask around for your particular use case. While basic support (it boots) is right around the corner, it's probably not yet at a point where it'll be nice to use.
What are some alternatives?
crate2nix - rebuild only changed crates in CI with crate2nix and nix
postmarketos-android-recovery-installer
rust-overlay - Pure and reproducible nix overlay of binary distributed rust toolchains
Tow-Boot - An opinionated distribution of U-Boot. — https://matrix.to/#/#Tow-Boot:matrix.org?via=matrix.org
cargo2nix - Granular builds of Rust projects for Nix
debian - Installation and post-installation scripts for Debian.
nix-direnv - A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
windows - Windows client for NextDNS
direnv - unclutter your .profile
archwiki - MediaWiki used on Arch Linux websites (read-only mirror)
crane - A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
node - Node.js JavaScript runtime ✨🐢🚀✨