forked from mirrors/nixpkgs
mesa.drivers: build with patchelf's master
Apparently using 0.9 (in b59fbf76d2
) didn't fully fix the problem.
This commit is contained in:
parent
ad7c4e495a
commit
0c34580ebc
|
@ -14028,7 +14028,17 @@ in
|
|||
}
|
||||
# Temporary fix for .drivers that avoids causing lots of rebuilds; see #91145
|
||||
// { drivers = (mesa.overrideAttrs (a: {
|
||||
nativeBuildInputs = [ patchelf_0_9 ] ++ a.nativeBuildInputs or [];
|
||||
nativeBuildInputs = [
|
||||
(patchelf.overrideAttrs (pa: {
|
||||
src = fetchFromGitHub {
|
||||
owner = "NixOS";
|
||||
repo = "patchelf";
|
||||
rev = "61bc10176"; # current master; what matters is merge of #225
|
||||
sha256 = "0cy77mn77w3mn64ggp20f4ygnbxfjmddhjjhfwkva53lsirg6w93";
|
||||
};
|
||||
nativeBuildInputs = pa.nativeBuildInputs or [] ++ [ autoreconfHook ];
|
||||
}))
|
||||
] ++ a.nativeBuildInputs or [];
|
||||
})).drivers;
|
||||
}
|
||||
;
|
||||
|
|
Loading…
Reference in a new issue