netcoredbg: 1.2.0-825 -> 2.0.0-895
This commit is contained in:
parent
0be721b129
commit
e6d5a40183
2 changed files with 16 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
{ lib, clangStdenv, stdenvNoCC, cmake, fetchFromGitHub, dotnetCorePackages, buildDotnetModule }:
|
{ lib, clangStdenv, stdenvNoCC, cmake, fetchFromGitHub, dotnetCorePackages, buildDotnetModule }:
|
||||||
let
|
let
|
||||||
pname = "netcoredbg";
|
pname = "netcoredbg";
|
||||||
version = "1.2.0-825";
|
version = "2.0.0-895";
|
||||||
|
|
||||||
# according to CMakeLists.txt, this should be 3.1 even when building for .NET 5
|
# according to CMakeLists.txt, this should be 3.1 even when building for .NET 5
|
||||||
coreclr-version = "3.1.19";
|
coreclr-version = "3.1.19";
|
||||||
|
@ -12,18 +12,19 @@ let
|
||||||
sha256 = "o1KafmXqNjX9axr6sSxPKrfUX0e+b/4ANiVQt4T2ybw=";
|
sha256 = "o1KafmXqNjX9axr6sSxPKrfUX0e+b/4ANiVQt4T2ybw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
dotnet-sdk = dotnetCorePackages.sdk_5_0;
|
dotnet-sdk = dotnetCorePackages.sdk_6_0;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Samsung";
|
owner = "Samsung";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "JQhDI1+bVbOIFNkXixZnFB/5+dzqCbInR0zJvykcFCg=";
|
sha256 = "sha256-zOfChuNjD6py6KD1AmN5DgCGxD2YNH9gTyageoiN8PU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
unmanaged = clangStdenv.mkDerivation rec {
|
unmanaged = clangStdenv.mkDerivation rec {
|
||||||
inherit src pname version;
|
inherit src pname version;
|
||||||
|
|
||||||
|
patches = [ ./limits.patch ];
|
||||||
nativeBuildInputs = [ cmake dotnet-sdk ];
|
nativeBuildInputs = [ cmake dotnet-sdk ];
|
||||||
|
|
||||||
hardeningDisable = [ "strictoverflow" ];
|
hardeningDisable = [ "strictoverflow" ];
|
||||||
|
|
12
pkgs/development/tools/misc/netcoredbg/limits.patch
Normal file
12
pkgs/development/tools/misc/netcoredbg/limits.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/src/debugger/frames.cpp b/src/debugger/frames.cpp
|
||||||
|
index 534936b..21366f9 100644
|
||||||
|
--- a/src/debugger/frames.cpp
|
||||||
|
+++ b/src/debugger/frames.cpp
|
||||||
|
@@ -9,6 +9,7 @@
|
||||||
|
#include "utils/platform.h"
|
||||||
|
#include "utils/logger.h"
|
||||||
|
#include "utils/torelease.h"
|
||||||
|
+#include <limits>
|
||||||
|
|
||||||
|
namespace netcoredbg
|
||||||
|
{
|
Loading…
Reference in a new issue