From 468a6b62b20476210a23332e1c4e428e42eaacf6 Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Fri, 10 Nov 2017 15:26:38 +0000 Subject: [PATCH] coreclr: fix build with glibc 2.26 --- pkgs/development/compilers/coreclr/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/compilers/coreclr/default.nix b/pkgs/development/compilers/coreclr/default.nix index 592eaf38d87a..17d91f36875c 100644 --- a/pkgs/development/compilers/coreclr/default.nix +++ b/pkgs/development/compilers/coreclr/default.nix @@ -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