mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 10:58:03 +03:00
22 lines
550 B
Nix
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 ];
|
|
});
|
|
};
|
|
} |