mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
thanos: pin to Go 1.19
It panics when running with Go 1.20 with the following error: ``` 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.20 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.20 set. Notably, if go1.20 adds a moving garbage collector, this program is unsafe to use. ```
This commit is contained in:
parent
05fada3446
commit
3757137462
@ -12,7 +12,7 @@ buildGoModule rec {
|
||||
|
||||
vendorHash = "sha256-bNQwDttJ7YuQFrpp0alqe37/lue0CX5gB2UDRWWtTXQ=";
|
||||
|
||||
doCheck = false;
|
||||
doCheck = true;
|
||||
|
||||
subPackages = "cmd/thanos";
|
||||
|
||||
|
@ -26096,7 +26096,11 @@ with pkgs;
|
||||
|
||||
tailspin = callPackage ../tools/misc/tailspin { };
|
||||
|
||||
thanos = callPackage ../servers/monitoring/thanos { };
|
||||
thanos = callPackage ../servers/monitoring/thanos {
|
||||
# Fails to run with go1.20 due to go4.org/unsafe/assume-no-moving-gc not being
|
||||
# update to be compatible with Go 1.20
|
||||
buildGoModule = buildGo119Module;
|
||||
};
|
||||
|
||||
trafficserver = callPackage ../servers/http/trafficserver { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user