Commit f9b5d5dc authored by mdarocha's avatar mdarocha
Browse files

netcoredbg: fix build

parent fd24ea2e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -30,7 +30,9 @@ let
    hardeningDisable = [ "strictoverflow" ];

    preConfigure = ''
      export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
      dotnetVersion="$(${dotnet-sdk}/bin/dotnet --list-runtimes | grep -Po '^Microsoft.NETCore.App \K.*?(?= )')"

      cmakeFlagsArray+=(
        "-DDBGSHIM_RUNTIME_DIR=${dotnet-sdk}/shared/Microsoft.NETCore.App/$dotnetVersion"
      )