Runnable Droid (Factory CLI) launcher for NixOS on x86_64 and aarch64.
This flake provides a nix run-able wrapper that:
- Detects the latest Factory CLI (Droid) version.
- Downloads the correct Linux binary for your architecture.
- Patches the binary's interpreter for NixOS compatibility.
- Caches the binary locally in
./droidand reuses it on subsequent runs.
- Nix with flake support enabled.
- NixOS (x86_64-linux or aarch64-linux).
Run Droid via this flake:
nix run github:bogorad/droid-flake -- [droid-args]Or from a local clone:
git clone https://github.com/bogorad/droid-flake
cd droid-flake
nix run . -- [droid-args]The first run will download and patch the Droid binary into ./droid; later runs reuse it.