Trying to downgrade Mesa version with an overlay in NixOS: [code] Getting error: [code]
- User
Trying to downgrade Mesa version with an overlay in NixOS:
final: prev: { mesa = prev.mesa.overrideAttrs (old: { version = "23.3.6"; # Replace with your desired version src = prev.fetchFromGitLab { owner = "mesa"; # Replace with the correct GitLab owner if different repo = "mesa"; # Replace with the name of the repo rev = "mesa-23.3.6"; # The tag, branch, or commit you want to fetch sha256 = "sha256-HOSMWN3b3dvKzkTVpsWyGI7ERMP8BZHRGVpz+bmO/84="; domain = "gitlab.freedesktop.org"; # Optionally, specify a sha256 for integrity checking: # sha256 = "..."; }; }); }Getting error:
error: builder for '/nix/store/5nkbhggcnbgqn4lqc10fbm2y822ral8w-mesa-23.3.6.drv' failed with exit code 1 error: 1 dependencies of derivation '/nix/store/0y1cf008nj381hzi5w3cx90rf4h0y7xi-graphics-drivers.drv' failed to build error: 1 dependencies of derivation '/nix/store/d80prgpffaicsd64pps7drkh3j3zfy1d-graphics-driver.conf.drv' failed to build error: 1 dependencies of derivation '/nix/store/8ij14xff1n22bv93y3zay2px7j3hq6w4-tmpfiles.d.drv' failed to build error: 1 dependencies of derivation '/nix/store/ga77l4iiby86ipw5ifndfdhpp51218ka-etc.drv' failed to build error (ignored): error: cannot unlink '"/tmp/nix-build-xorg-server-21.1.16.drv-1/build/xorg-server-21.1.16"': Directory not empty error: 1 dependencies of derivation '/nix/store/m47lc0spf6pvgnpscq6mpnvvi5v2019p-nixos-system-foxtrot-25.05beta770807.a84ebe20c6bc.drv' failed to build - Assistant
- User
$ nix log /nix/store/5nkbhggcnbgqn4lqc10fbm2y822ral8w-mesa-23.3.6.drv Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/n9snj8kzvl52szvlhwqza4dh3w0km5md-source source root is source Running phase: patchPhase @nix { "action": "setPhase", "phase": "patchPhase" } applying patch /nix/store/1l0qz7048j9g0bi03d8rfn66awi2hjnx-opencl.patch patching file meson.build Hunk #1 FAILED at 1850. 1 out of 1 hunk FAILED -- saving rejects to file meson.build.rej patching file meson_options.txt Hunk #1 succeeded at 681 with fuzz 2 (offset -57 lines). patching file src/gallium/targets/opencl/meson.build Hunk #1 succeeded at 123 (offset 67 lines). patching file src/gallium/targets/rusticl/meson.build Hunk #1 succeeded at 76 (offset 13 lines).
- Assistant
- User
Is it possible to change the overlay to point to a nixpkgs commit instead? so I wouldn't get it directly from mesa's repo
- Assistant
- User
Now it seems to do both?
- Assistant