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

Adding nixos-apple-silicon channel after fresh install #249

Closed
EdvardSire opened this issue Nov 11, 2024 · 1 comment
Closed

Adding nixos-apple-silicon channel after fresh install #249

EdvardSire opened this issue Nov 11, 2024 · 1 comment

Comments

@EdvardSire
Copy link

I just did a complete reinstall and wanted to start following the apple-silicon-support channel instead of using the local files. I'm unsure whether or not this issue belongs here.

  1. Install with ISO
  2. Add small changes to /etc/nixos/configuration.nix
  3. nixos-rebuild switch
  4. Attempt to add channel:
[root@nixos:~]# nix-channel --list 
nixos https://nixos.org/channels/nixos-unstable

[root@nixos:~]# nix-channel --add https://github.com/tpwrules/nixos-apple-silicon/archive/main.tar.gz apple-silicon-support


[root@nixos:~]# nix-channel --list
apple-silicon-support https://github.com/tpwrules/nixos-apple-silicon/archive/main.tar.gz
nixos https://nixos.org/channels/nixos-unstable

[root@nixos:~]# nix-channel --update apple-silicon-support
this derivation will be built:
  /nix/store/0mx0cpzrn9qr4z73l1b9m4zg119inkc8-apple-silicon-support.drv
building '/nix/store/0mx0cpzrn9qr4z73l1b9m4zg119inkc8-apple-silicon-support.drv'...
error: '/nix/var/nix/profiles/per-user/root/channels/nixos' is not a symlink

How should i resolve this? From what I understand I can not run a nix-channel --update, the solution I'm finding online, because of #248 and systemd.
Best regards

@tpwrules
Copy link
Owner

The latest release should be fixed for recent nixpkgs. I am not sure why you might get this error off the top of my head, but upgrading is safe now.

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

No branches or pull requests

2 participants