From 27d3704a6a0b7c20b38a2224d871735a62720601 Mon Sep 17 00:00:00 2001 From: Sean Kovacs Date: Mon, 1 Dec 2025 14:36:31 -0500 Subject: [PATCH] fix mesa 25.3 regression --- system/hosts/peach/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/system/hosts/peach/default.nix b/system/hosts/peach/default.nix index e4c8d27..b5729b9 100644 --- a/system/hosts/peach/default.nix +++ b/system/hosts/peach/default.nix @@ -33,6 +33,15 @@ }; }; + hardware.graphics.package = + # Workaround for Mesa 25.3.0 regression + # https://github.com/nix-community/nixos-apple-silicon/issues/380 + assert pkgs.mesa.version == "25.3.0"; + (import (fetchTarball { + url = "https://github.com/NixOS/nixpkgs/archive/c5ae371f1a6a7fd27823bc500d9390b38c05fa55.tar.gz"; + sha256 = "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE="; + }) { localSystem = pkgs.stdenv.hostPlatform; }).mesa; + swapDevices = [ { device = "/swapfile";