coreclr: fix build with glibc 2.26

This commit is contained in:
Piotr Bogdan 2017-11-10 15:26:38 +00:00
parent 6acabb06b7
commit 468a6b62b2

View File

@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, fetchpatch
, which
, cmake
, clang
@ -27,6 +28,14 @@ stdenv.mkDerivation rec {
sha256 = "16z58ix8kmk8csfy5qsqz8z30czhrap2vb8s8vdflmbcfnq31jcw";
};
patches = [
(fetchpatch {
# glibc 2.26
url = https://github.com/dotnet/coreclr/commit/a8f83b615708c529b112898e7d2fbc3f618b26ee.patch;
sha256 = "047ph5gip4z2h7liwdxsmpnlaq0sd3hliaw4nyqjp647m80g3ffq";
})
];
buildInputs = [
which
cmake