Closed yu-re-ka closed 5 months ago
Very cool, this seems to be working.
How can I test this? I tried updating to latest unstable and it's failing, I wonder if this fixes it. I am using channels.
How can I test this? I tried updating to latest unstable and it's failing, I wonder if this fixes it. I am using channels.
This may not be the canonical way, but you can clone nixpkgs, checkout @yu-re-ka's branch, and then rebuild your system via nixos-rebuild switch -I nixpkgs=$PATH_TO_NIXPKGS
.
(EDIT: How did I write such absolute nonsense 🙈 - I meant "you can clone apple-silicon-support
, checkout @yu-re-ka's branch, and then rebuild your system.")
How can I test this? I tried updating to latest unstable and it's failing, I wonder if this fixes it. I am using channels.
Alternatively if using flakes:
apple-silicon-support = {
# url = "github:tpwrules/nixos-apple-silicon";
url = "github:yu-re-ka/nixos-m1/nixos-unstable-fixes";
};
Thanks @Lederstrumpf and @johnbchron I combined both approaches :smile:
$ sudo nix-channel --add https://github.com/yu-re-ka/nixos-m1/archive/refs/heads/nixos-unstable-fixes.tar.gz apple-silicon-support-temp-fix
$ sudo nix-channel --update
And then changed the apple-silicon-support in configuration.nix
[ # Include the results of the hardware scan.
./hardware-configuration.nix
# Include the necessary packages and configuration for Apple Silicon Support.
- <apple-silicon-support/apple-silicon-support>
+ <apple-silicon-support-temp-fix/apple-silicon-support>
];
I can confirm as well this works with nixos unstable.
Fixes #141