Files
intel-hard-graphics/flake.nix
T
2026-06-05 21:14:28 +03:00

22 lines
550 B
Nix

{
description = "Ivy Bridge Custom Mesa";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
mesa-src = {
url = "git+https://gitlab.freedesktop.org/mesa/mesa?rev=1a8953c9562d779f2d2730900a85ab5f446fff12";
flake = false;
};
};
outputs = { self, nixpkgs, mesa-src }:
let
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
packages.${system}.mesa-custom = pkgs.mesa.overrideAttrs (old: {
src = mesa-src;
patches = [ ./hd4000-custom.patch ];
});
};
}