git.iko.soy/typeable/nixpkgs
on master help sign in
coreclr: 2.0.0 -> 2.0.7
commitf386994413e07710d596a2d8a48c67aa6b5c9ca0 authorJörg Thalheim <joerg@thalheim.io> dateThu 12 Apr 2018, 00:08 (9 years ago) parentde581b9
1 file changed+13−4
pkgs/development/compilers/coreclr/default.nix+13−4
pkgs/development/compilers/coreclr/default.nix+13−4
@@ -19,13 +19,13 @@
1919
2020stdenv.mkDerivation rec {
2121 name = "coreclr-${version}";
22− version = "2.0.0";
22+ version = "2.0.7";
2323
2424 src = fetchFromGitHub {
2525 owner = "dotnet";
2626 repo = "coreclr";
2727 rev = "v${version}";
28− sha256 = "16z58ix8kmk8csfy5qsqz8z30czhrap2vb8s8vdflmbcfnq31jcw";
28+ sha256 = "0pzkrfgqywhpijbx7j1v4lxa6270h6whymb64jdkp7yj56ipqh2n";
2929 };
3030
3131 patches = [
@@ -34,12 +34,20 @@ stdenv.mkDerivation rec {
3434 url = https://github.com/dotnet/coreclr/commit/a8f83b615708c529b112898e7d2fbc3f618b26ee.patch;
3535 sha256 = "047ph5gip4z2h7liwdxsmpnlaq0sd3hliaw4nyqjp647m80g3ffq";
3636 })
37+ (fetchpatch {
38+ # clang 5
39+ url = https://github.com/dotnet/coreclr/commit/9b22e1a767dee38f351001c5601f56d78766a43e.patch;
40+ sha256 = "1w1lxw5ryvhq8m5m0kv880c4bh6y9xdgypkr76sqbh3v568yghzg";
41+ })
3742 ];
3843
39− buildInputs = [
44+ nativeBuildInputs = [
4045 which
4146 cmake
4247 clang
48+ ];
49+
50+ buildInputs = [
4351 llvmPackages.llvm
4452 llvmPackages.lldb
4553 libunwind
@@ -68,7 +76,8 @@ stdenv.mkDerivation rec {
6876
6977 buildPhase = ''
7078 runHook preBuild
71− ./build.sh $BuildArch $BuildType
79+ # disable -Werror which can potentially breaks with every compiler upgrade
80+ ./build.sh $BuildArch $BuildType cmakeargs "-DCLR_CMAKE_WARNINGS_ARE_ERRORS=OFF"
7281 runHook postBuild
7382 '';
7483