Comments (8)
Can you share more information about your setup? Because running nix run nixpkgs.emacs -c emacs
works perfectly fine for me.
from nix-on-droid.
@Gerschtli Do you have a .emacs or .emacs.d directory? I moved my .emacs
and .emacs.d
directory temporarily to test but I'm not sure if that makes a difference.
I just tried again and the issue is reproducible with nix run nixpkgs.emacs -c emacs
.
I'm not sure what other information is useful, but here's what I can think of being relevant:
- I installed from this link.
- I have a moto x4 on Android 8.1.0 build number OPW28.1
from nix-on-droid.
Perhaps your user has a home directory and if applicable to android an entry in /etc/passwd?
from nix-on-droid.
Yeah, a good starting point to unwind stuff.
/etc/passwd
should be mapped to a file generated during Nix-on-Droid installation, and I haven't really put much thought into it. It has already been a source of problems before.
Could you both please share the output of
id
echo $USER $HOME
cat /etc/passwd
ls -ld $HOME
from nix-on-droid.
My output:
~
❯ id
uid=10256(nix-on-droid) gid=10256 groups=10256,3003,9997,20256,50256,99909997
~
❯ echo $USER $HOME
u0_a256 /data/data/com.termux.nix/files/home
~
❯ cat /etc/passwd
root:x:0:0:System administrator:/data/data/com.termux.nix/files/usr/root:/bin/sh
nix-on-droid:x:10256:10256:nix-on-droid:/data/data/com.termux.nix/files/home:/bin/sh
~
❯ ls -ld $HOME
drwx------ 11 nix-on-droid 10256 4096 Sep 15 05:06 /data/data/com.termux.nix/files/home
I did not create any emacs related directories. Currently I only have an empty ~/.emacs.d/auto-save-list
created by the initial call of emacs.
from nix-on-droid.
It has already been a source of problems before.
Perhaps resolution of this issue will help solve other issues or make nix on android more stable then :)
My output:
bash-4.4$ id
uid=10211(nix-on-droid) gid=10211 groups=10211,3003,9997,20211,50211
bash-4.4$ echo $USER $HOME
u0_a211 /data/data/com.termux.nix/files/home
bash-4.4$ cat /etc/passwd
root:x:0:0:System administrator:/data/data/com.termux.nix/files/usr/root:/bin/sh
nix-on-droid:x:10211:10211:nix-on-droid:/data/data/com.termux.nix/files/home:/bin/sh
bash-4.4$ ls -ld $HOME
drwx------ 7 nix-on-droid 10211 4096 Sep 14 16:04 /data/data/com.termux.nix/files/home
from nix-on-droid.
@codygman, will this go away if you rename the user in /etc/passwd
to u0_a211
?
from nix-on-droid.
No activity here since a long time. Feel free to reopen if still an issue.
from nix-on-droid.
Related Issues (20)
- 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 2
- 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
- accidentally nix profile removed nix-on-droid HOT 5
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.