mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 10:58:03 +03:00
Mesa commit hash
This commit is contained in:
1 file changed
+13
-4
@@ -1,11 +1,20 @@
|
||||
{
|
||||
inputs.mesa-src = {
|
||||
url = "git+https://gitlab.freedesktop.org/mesa/mesa?ref=main";
|
||||
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 }: {
|
||||
mesa-custom = nixpkgs.legacyPackages.x86_64-linux.mesa.overrideAttrs (old: {
|
||||
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 ];
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user