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

Install nix properly based on OS #2

Open
jakewies opened this issue Jan 12, 2022 · 1 comment
Open

Install nix properly based on OS #2

jakewies opened this issue Jan 12, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@jakewies
Copy link
Owner

jakewies commented Jan 12, 2022

It seems that MacOS, Linux and Windows Subsystem for Linux use different syntax to install Nix. See here.

Currently the install.sh script installs Nix uses a non-documented (previously it was...I think) way. This way works well on Windows Subsystem for Linux, but shows issues on MacOS. I've built the install.sh script on WSL2, so it makes sense why things feel good there but not so much in Mach World.

The main issue seems to be when trying to source nix.sh.. It doesn't exist on MacOS (multi-user installation). I haven't tried Linux.

Need to use some form of conditional to handle separate operating systems.

@jakewies jakewies added the bug Something isn't working label Jan 12, 2022
@oznav2
Copy link

oznav2 commented Aug 17, 2022

hi Jake. please commit a solution for enabling your wonderful install script to work on Mac OS as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants