A script to install Nix package manager inside a Termux installation (on Android, aarch64)
Shell
122
8 commits
updated Mar 12, 2019
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:
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:
./nix-in-termux inside Termux to install Nix../nix-in-termux nix something to run nix subcommands../nix-in-termux nix run nixpkgs.bashInteractive
to get a shell with Nix and your Nix user environment.nixpkgs, the vast collection of fine packages
that is now at your disposal.Tips:
coreutils installed.8 commits
Shell
100.0%
A script to install Nix package manager inside a Termux installation (on Android, aarch64)
Shell
122
8 commits
updated Mar 12, 2019
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:
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:
./nix-in-termux inside Termux to install Nix../nix-in-termux nix something to run nix subcommands../nix-in-termux nix run nixpkgs.bashInteractive
to get a shell with Nix and your Nix user environment.nixpkgs, the vast collection of fine packages
that is now at your disposal.Tips:
coreutils installed.8 commits
Shell
100.0%