I overrode my mesa version like this in nixos: [code] and then [code] But I'm still…
- User
I overrode my mesa version like this in nixos:
let localNixpkgs = import /home/xxx/dev/nixpkgs-xxx { inherit (pkgs) pkgs; }; mesaOverlay = final: prev: { mesa = localNixpkgs.mesa; }; inand then
nixpkgs.overlays = [ mesaOverlay ]; hardware.graphics.package = pkgs.mesa; hardware.graphics.extraPackages = [ pkgs.mesa.drivers ];But I'm still seeing version 25.0.1 being used even though I set this in the pkgs/development/libraries/mesa/common.nix in /home/xxx/dev/nixpkgs-xxx:
pname = "mesa"; version = "25.0.0"; src = fetchFromGitLab { domain = "gitlab.freedesktop.org"; owner = "mesa"; repo = "mesa"; rev = "mesa-${version}"; hash = "sha256-9D4d7EEdZysvXDRcmpbyt85Lo64sldNRomp6/HUVORo="; };Also, I didn't get a hash mismatch even though I changed the version but not hash.
- Assistant
It looks like you're trying to override the version of Mesa in your NixOS configuration but still seeing the older version being used. Here are some steps and tips to help you troubleshoot the issue: