mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 19:08:03 +03:00
Mesa commit hash
This commit is contained in:
1 file changed
+14
-5
@@ -1,11 +1,20 @@
|
|||||||
{
|
{
|
||||||
inputs.mesa-src = {
|
description = "Ivy Bridge Custom Mesa";
|
||||||
url = "git+https://gitlab.freedesktop.org/mesa/mesa?ref=main";
|
|
||||||
flake = false;
|
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 }: {
|
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 ];
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user