From 822f7c15c04567fbdc27020e862ea2b70cfbf8eb Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 13 Feb 2024 11:32:26 +0100 Subject: sys/mbp.nix: set hardware.asahi.withRust For some reason, the kernel is being built with Rust support anyway. Setting this option will include nixos-apple-silicon's patches to fix the build with the current Rust compiler, which will be required next Nixpkgs update. --- sys/mbp.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys') diff --git a/sys/mbp.nix b/sys/mbp.nix index d68953d27535..2b9c4f472594 100644 --- a/sys/mbp.nix +++ b/sys/mbp.nix @@ -27,6 +27,8 @@ boot.initrd.luks.devices."root".device = "/dev/disk/by-uuid/dc106480-a643-4f32-a63d-931f53e8baae"; + hardware.asahi.withRust = true; + boot.kernelPatches = [ # Causes gnulib tests to fail. { -- cgit 1.4.1