t184256 / nix-in-termux

A script to install Nix package manager inside a Termux installation (on Android, aarch64)
GNU Lesser General Public License v2.1
106 stars 15 forks source link

NOTICE

I've shifted my efforts to focus on Nix-on-Droid, a different approach to bringing Nix to Android devices:

Please consider installing this one to get Nix on your device instead.

Links to the new projects:

README

This script installs Nix package manager inside a Termux installation. Copyright (c) 2019 Alexander Sosedkin monk@unboiled.info

Based off the official Nix install script (https://nixos.org/nix/install), presumably written by Eelco Dolstra.

This script installs Nix package manager inside a Termux installation. It does not require root, user namespaces support or disabling SELinux, but it relies on proot and numerous other hacks instead. Only tested with aarch64, may also accidentally work on x86. Sorry, it would not work on 32-bit ARM devices.

Usage:

Tips: