its happening

This commit is contained in:
elwrcl committed 2026-06-06 13:13:41 +03:00
1 parent 37c13b4907
commit 04d4dc8b09
2 files changed
-400

No files matched your search

-31
View File
@@ -1,31 +0,0 @@
{
description = "Ivy Bridge Custom Mesa";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }:
let
systems = ["x86_64-linux"];
forAllSystems = f: nixpkgs.lib.genAttrs systems f;
buildCustomMesa = pkgs: pkgs.mesa.overrideAttrs (old: {
patches = (old.patches or []) ++ [
./hd4000-custom.patch
];
mesonFlags = (old.mesonFlags or []) ++ [ "-Dgallium-rusticl=true" ];
});
in {
packages = forAllSystems (system:
let
pkgs = import nixpkgs { inherit system; };
in {
mesa-custom = buildCustomMesa pkgs;
mesa-custom-32 = buildCustomMesa pkgs.pkgsi686Linux;
}
);
};
}