Git Product home page Git Product logo

Comments (11)

mpscholten avatar mpscholten commented on May 20, 2024 1

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.

ajkovar avatar ajkovar commented on May 20, 2024 1

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.

mpscholten avatar mpscholten commented on May 20, 2024 1

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.

abathur avatar abathur commented on May 20, 2024 1

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.

jantebeest avatar jantebeest commented on May 20, 2024

Doesn't work on MacOS 11, the check looks to be insufficient as it tells me to upgrade to 10.x

from ihp.

mpscholten avatar mpscholten commented on May 20, 2024

What commands/approach did you try? And what's the error message?

from ihp.

jantebeest avatar jantebeest commented on May 20, 2024
  % 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.

jantebeest avatar jantebeest commented on May 20, 2024

11.0 is not supported, upgrade to 10.12.6 lol

from ihp.

jantebeest avatar jantebeest commented on May 20, 2024

Sorry, command got stripped somehow ...
➜ ~ sh <(curl -L https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume

from ihp.

hk7alone avatar hk7alone commented on May 20, 2024

N

from ihp.

damienxy avatar damienxy commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.