Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage in Debian GNU/Linux Buster #31

Open
mdimjasevic opened this issue Aug 27, 2019 · 1 comment
Open

Usage in Debian GNU/Linux Buster #31

mdimjasevic opened this issue Aug 27, 2019 · 1 comment

Comments

@mdimjasevic
Copy link

mdimjasevic commented Aug 27, 2019

Hi,

I was happy to find your effort to package Nix for Debian! Thank you for that.

Have you tried building and installing it for the Buster release? I built the binary package and installed it, but whichever nix-* command I try to use, I get an error. For example, when I run nix-channel --update I get:

unpacking channels...
warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels' does not exist, ignoring
error: unable to start build process
error: program '/usr/bin/nix-env' failed with exit code 1

Do you know why? If it matters, this installation is in an LXC container also running Debian Buster.

@KaiHa
Copy link
Owner

KaiHa commented Aug 27, 2019

I remember that I had issues when I tested it in containers.

You can try to add the following line to your /etc/nix/nix.conf:

build-use-sandbox = false

I can't remember if we had made this the default. It is at least worth a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants