GithubHelp home page GithubHelp logo

Comments (9)

Gerschtli avatar Gerschtli commented on August 26, 2024

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.

Gerschtli avatar Gerschtli commented on August 26, 2024

The issue relating to the missing documentation of available options is #36.

from nix-on-droid.

mrfoxie avatar mrfoxie commented on August 26, 2024

I tried to use this command nix-env -qaP \* and it gave me error like this FAILED

from nix-on-droid.

Gerschtli avatar Gerschtli commented on August 26, 2024

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.

mrfoxie avatar mrfoxie commented on August 26, 2024

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.

Gerschtli avatar Gerschtli commented on August 26, 2024

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.

lypanov avatar lypanov commented on August 26, 2024

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.

mrfoxie avatar mrfoxie commented on August 26, 2024

unable to install any packages or cant run nix-env --help

from nix-on-droid.

t184256 avatar t184256 commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.