datadog-agent: build with go118
If using go119, the agent throws an error at startup: ``` panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to declare that it assumes a non-moving garbage collector, but your version of go4.org/unsafe/assume-no-moving-gc hasn't been updated to assert that it's safe against the go1.19 runtime ``` I believe this needs a fix in the datadog package itself, similar to: https://github.com/DataDog/datadog-agent/pull/11455 but for go1.19
This commit is contained in:
parent
a0e889791f
commit
5727fbea4a
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, cmake
|
||||
, buildGoModule
|
||||
, buildGo118Module
|
||||
, makeWrapper
|
||||
, fetchFromGitHub
|
||||
, pythonPackages
|
||||
|
@ -35,7 +35,7 @@ let
|
|||
cmakeFlags = ["-DBUILD_DEMO=OFF" "-DDISABLE_PYTHON2=ON"];
|
||||
};
|
||||
|
||||
in buildGoModule rec {
|
||||
in buildGo118Module rec {
|
||||
pname = "datadog-agent";
|
||||
inherit src version;
|
||||
|
||||
|
|
Loading…
Reference in a new issue