3
0
Fork 0
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:
Vladimír Čunát 2020-08-02 09:17:15 +02:00
parent ad7c4e495a
commit 0c34580ebc
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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;
}
;