Comments (11)
What macbook version are you using?
Can you try these steps (take from NixOS/nix#2925 (comment)):
sudo mkdir /System/Volumes/Data/opt/nix
sudo chown {your_user} /System/Volumes/Data/opt/nix
sudo sh -c "echo 'nix\tSystem/Volumes/Data/opt/nix' >> /etc/synthetic.conf"
Reboot mac. Then:
export NIX_IGNORE_SYMLINK_STORE=1
curl https://nixos.org/nix/install | sh
After that, add the following to ~/.zprofile
:
. ~/.nix-profile/etc/profile.d/nix.sh
export NIX_IGNORE_SYMLINK_STORE=1
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.
from ihp.
This didn't work for me as is. I had to add the -L argument to curl. I guess the page moved?
export NIX_IGNORE_SYMLINK_STORE=1
curl -L https://nixos.org/nix/install | sh
from ihp.
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
from ihp.
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? :)
from ihp.
Doesn't work on MacOS 11, the check looks to be insufficient as it tells me to upgrade to 10.x
from ihp.
What commands/approach did you try? And what's the error message?
from ihp.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 2490 100 2490 0 0 771 0 0:00:03 0:00:03 --:--:-- 771
downloading Nix 2.3.7 binary tarball for x86_64-darwin from 'https://releases.nixos.org/nix/nix-2.3.7/nix-2.3.7-x86_64-darwin.tar.xz' to '/var/folders/ww/szc9b_qj073659xpp7p8mcbc0000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.ZstpgXxM'...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 26.4M 100 26.4M 0 0 5903k 0 0:00:04 0:00:04 --:--:-- 6373k
/var/folders/ww/szc9b_qj073659xpp7p8mcbc0000gn/T/nix-binary-tarball-unpack.XXXXXXXXXX.ZstpgXxM/unpack/nix-2.3.7-x86_64-darwin/install: macOS 11.0 is not supported, upgrade to 10.12.6 or higher```
from ihp.
11.0 is not supported, upgrade to 10.12.6 lol
from ihp.
Sorry, command got stripped somehow ...
➜ ~ sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
from ihp.
N
from ihp.
FYI, I didn't try the above solution, but this blog post worked well for me (Macbook Pro 2017 (Pre-T2) Catalina with FileVault).
from ihp.
Related Issues (20)
- Document devenv migration HOT 1
- Add onRelated helper
- required=True has no effect on dateField
- links to Actions with Maybe's get literal `Just` in query params HOT 1
- Be more strict and prevent incomplete patterns HOT 6
- Live reload is not always localhost HOT 1
- Workflow for working with db migrations between different branches
- IHP v1.1.0 Release
- Support deployments via nixos-rebuild
- Add .env docs
- ihp-new is overriding .envrc
- add `JoinedTable` variants of `filterWherePast` and `futureWhereFuture`
- add general `filterWhereLarger` and `filterWhereSmaller` functions
- fixing new IHP boilerplate in Codespaces and GitPod HOT 16
- Use -ddump-json flag for IHP's ghci
- Nix-Flakes: Dev-Server does not recognize file changes on new IHP version HOT 32
- `additonalAttributes` should be able to override all the other attributes
- Support HTML doctype in HSX HOT 1
- Remove `unsafePerformIO` from `currentUserOrNothing` HOT 2
- Add non-render comments to HSX
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ihp.