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

Nix packages don't work when using with sudo #4844

Open
alfzki opened this issue May 21, 2021 · 1 comment
Open

Nix packages don't work when using with sudo #4844

alfzki opened this issue May 21, 2021 · 1 comment
Labels

Comments

@alfzki
Copy link

alfzki commented May 21, 2021

when running sudo env NIX_PROFILES, NIX_SSL_CERT_FILE and NIX_PATH don"t exist
however when I use :

sudo -s
env

NIX_* Variables exist and I can use nix packages.

I'm using Linux Mint 20.1 and installed nix package manager 2.3.11 for multi-user

@stale
Copy link

stale bot commented Nov 25, 2021

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant