Comments (9)
Essentially you are in a basic nix environment without super user privileges. You can use the manual of nix and nixpkgs on https://nixos.org as a starting point.
Additionally a executable named nix-on-droid
is available which tries to mimic nixos-like behaviour (see ~/.config/nixpkgs/nix-on-droid.nix
for configuration file).
In the Readme of this repository are some information about how to use nix-on-droid
. Unfortunately there is no easy way to search for available options as this project is in an early stage. So you can look into the modules
folder for discovering more options.
The recommended setup includes home-manager which is documented quite good. For instructions on how to embed home-manager into nix-on-droid see the Readme.
I hope this helps :)
from nix-on-droid.
The issue relating to the missing documentation of available options is #36.
from nix-on-droid.
I tried to use this command nix-env -qaP \*
and it gave me error like this FAILED
from nix-on-droid.
Can you give me more information (e.g. smartphone model, ram size) and a way to reproduce this error beginning from a clean install because for this command works (quite slowly but it works)?
from nix-on-droid.
this is my phone vivo 1808 and I tried to reinstall the app by uninstalling it completely and fresh install it. shall I send video on it so that you get to the problem
from nix-on-droid.
nix-env -qaP \*
is a really inperformant command because it tries to evaluate the whole nixpkgs. I think 2GB of RAM aren't sufficient.
So this is not a fixable issue in nix-on-droid unfortunately..
from nix-on-droid.
Easiest workaround to this issue is to use the website to search: https://search.nixos.org/packages
Even on a Samsung Tab S6 nix based package search is too slow to be useful.
from nix-on-droid.
unable to install any packages or cant run nix-env --help
from nix-on-droid.
Can you post the output?
nix-env
works fine for me provided I have gzip
installed. In general, you're supposed to add packages to the configuration file and nix-on-droid switch
instead of using nix-env
.
from nix-on-droid.
Related Issues (20)
- "Environment.pathsToLink does not exist" error. HOT 4
- Re packed emacs that can be used with nix-on-droid HOT 1
- Docs generation uses 23.05 nixpkgs HOT 1
- Insecure packages HOT 2
- [App] Merging features from Termux-Monet HOT 1
- Replacing xdg-open with termux-open
- Changing hostname (for flakes) HOT 2
- How to run docker daemon? HOT 1
- Mosh DNS not working HOT 1
- Cannot run Shizuku generated rish HOT 3
- Option for Shizuku
- How can i install it in terminal of nix?I use the original apk in the site,which size is 7.2m not 7.4 HOT 1
- Are there x86_64 bootstrap tars availible? HOT 3
- Git support HOT 5
- Somehow I got git to work but everytime I use git push it asks for pat token and username someway to bypass HOT 12
- nix command HOT 2
- um, what is difference between nix-env and nix configuration file HOT 1
- can't set up font HOT 4
- not an Issue but a question
- sourcing .bashrc crashes the app HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix-on-droid.