Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pkgs/by-name/sc/scaleway-cli/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ buildGoModule rec {

doCheck = true;

checkFlags = [
# This subtest hardcodes a go-humanize relative-time string ("35 years ago")
# for a fixed 1990 date instead of computing it, so it breaks once enough
# wall-clock time passes (now "36 years ago"). go-humanize truncates the
# elapsed time by a fixed 360-day year (Year = 12*Month, Month = 30*Day), so
# diff/Year rolled 35 -> 36 on 2026-05-12. Upstream keeps bumping the
# literal by hand rather than fixing it, so skip the time-dependent subtest.
"-skip=^TestMarshal/structWithMapsInSection$"
];

# Some tests require access to scaleway's API, failing when sandboxed
preCheck = ''
substituteInPlace core/bootstrap_test.go \
Expand Down
Loading