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)
- Font change HOT 3
- Grab a wakelock for the duration of the bootstrap HOT 2
- upgrade to 24.05 break everything HOT 4
- nix command HOT 1
- huh(home manger error HOT 4
- Terminal shows random declare commands then loads zsh HOT 1
- unable to download home manager
- [RFE] Package OpenKeychain agents
- Abysmal performance on basic commands involving nixpkgs HOT 13
- #LordRusty23 💉👌💦📡🤩👍 HOT 3
- Audited Resource, Min severity: Info HOT 2
- Nim HOT 1
- ❤️
- Home-Manager Version Mismatch Error with Flakes HOT 1
- 24.05 HOT 7
- "nix-env --help" is not working HOT 4
- README is outdated with 24.05 ? HOT 1
- styling app not found HOT 1
- Is it possible to use packages from different channel in nix-on-droid.nix 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.