Mesa commit hash

This commit is contained in:
elwrcl committed 2026-06-05 21:14:28 +03:00
1 parent bbeed76eaf
commit 575726804c
1 file changed
+13 -4
+13 -4
View File
@@ -1,11 +1,20 @@
{ {
inputs.mesa-src = { description = "Ivy Bridge Custom Mesa";
url = "git+https://gitlab.freedesktop.org/mesa/mesa?ref=main";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
mesa-src = {
url = "git+https://gitlab.freedesktop.org/mesa/mesa?rev=1a8953c9562d779f2d2730900a85ab5f446fff12";
flake = false; flake = false;
}; };
};
outputs = { self, nixpkgs, mesa-src }: { outputs = { self, nixpkgs, mesa-src }:
mesa-custom = nixpkgs.legacyPackages.x86_64-linux.mesa.overrideAttrs (old: { let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
packages.${system}.mesa-custom = pkgs.mesa.overrideAttrs (old: {
src = mesa-src; src = mesa-src;
patches = [ ./hd4000-custom.patch ]; patches = [ ./hd4000-custom.patch ];
}); });