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

Add default for USER when unset #3007

Merged
merged 1 commit into from Jul 25, 2019
Merged

Conversation

matthewbauer
Copy link
Member

uses $(id -u -n) when USER is unset, this is needed on some weird
setups in Docker. Fixes #971

uses $(id -u -n) when USER is unset, this is needed on some weird
setups in Docker. Fixes NixOS#971
@edolstra edolstra merged commit 1fb8e26 into NixOS:master Jul 25, 2019
@ghuntley
Copy link
Member

Lovely. Thanks.

@shepting
Copy link

Thanks!

sdedovic added a commit to sdedovic/nix that referenced this pull request Sep 12, 2023
See:
- NixOS#3007
- NixOS#971

This is still broken, e.g. when running the no-daemon install script on the circle-ci base image (cimg/base).
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

Successfully merging this pull request may close these issues.

Installing Nix in Docker on non-NixOS Linux fails: $USER is not set
4 participants