-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
I just found this wonderful project, and thank you for your wonderful work.
I encounter problems when use this together with other tools. Thanks to anyone who may be interested and reply this in advance.
- docker
I installed docker and mount the nixsa folder into the container, But I found out bubblewrap doesn't work properly. Any solutions?
errers:
xxx@7863c6385913:~$ /nixsa/bin/nix
bwrap: No permissions to create new namespace, likely because the kernel does not allow non-privileged user namespaces. See <https://deb.li/bubblewrap> or <file:///usr/share/doc/bubblewrap/README.Debian.gz>.
xxx@7863c6385913:~$ ls -a -l /nixsa/bin/nix
lrwxrwxrwx 1 ubuntu ubuntu 5 Jan 1 1970 /nixsa/bin/nix -> nixsa
- devenv
I follow the demo of devenv here https://devenv.sh/guides/using-with-flakes/#the-flakenix-file and I got errors too.
Running tasks devenv:enterShell
Failed devenv:enterShell 11ms
1 Failed 11.37ms
--- devenv:enterShell failed with error: Task exited with status: exit status: 1
--- devenv:enterShell stdout:
--- devenv:enterShell stderr:
0000.00: chmod: changing permissions of '/mnt/z/nixsa/.devenv/load-exports': Operation not permitted
---
logs:
(nix:devenv-shell-env) (devenv) xxx@DESKTOP-M0LLBM9:/mnt/z/nixsa$ ls -a -l /mnt/z/nixsa/.devenv/load-exports
-rwxrwxrwx 1 nobody nogroup 1 Feb 8 17:46 /mnt/z/nixsa/.devenv/load-exports
- nix-direnv
I haven't figure out how to make nix-direnv work yet!
Maybe, are there any better way to deal with this sitiations? Thank you!
Metadata
Metadata
Assignees
Labels
No labels