-
Notifications
You must be signed in to change notification settings - Fork 200
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
Error installing Nix in Mac with FileVaut encrypted volumes #93
Comments
What macbook version are you using? Can you try these steps (take from NixOS/nix#2925 (comment)):
Reboot mac. Then:
After that, add the following to
I've just tried these steps on a clean 2018 macbook pro (where the above nix installation error message also appeared), and this fixed the problem. |
This didn't work for me as is. I had to add the -L argument to curl. I guess the page moved? 🤷♂️
|
Doesn't work on MacOS 11, the check looks to be insufficient as it tells me to upgrade to 10.x |
What commands/approach did you try? And what's the error message? |
|
11.0 is not supported, upgrade to 10.12.6 lol |
Sorry, command got stripped somehow ... |
N |
FYI, I didn't try the above solution, but this blog post worked well for me (Macbook Pro 2017 (Pre-T2) Catalina with FileVault). |
This issue has been finally fixed by nix. The macos install script has been updated to automatically resolve the problem here. See NixOS/nix#4289 |
Just for completeness/confusion-avoidance, it'll still need to be released (either in 2.4, or backported to 2.3.x) before it'll work for standard installs. There are instructions in the PR head comment for using a test installer generated from it, which may be a tolerable stopgap (but no substitute for squeaking loudly about getting a new release cut? :) |
Following the install guide executed:
sh <(curl https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
then it returned:error: refusing to create Nix store volume because the boot volume is FileVault encrypted, but encryption-at-rest is not available. Manually create a volume for the store and re-run this script. See https://nixos.org/nix/manual/#sect-macos-installation
The text was updated successfully, but these errors were encountered: