From 815ec0c6f29c01c209e731f599734dff28ca33e5 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sat, 9 Nov 2024 12:00:00 +0000 Subject: [PATCH] nodejs: fix build on 32 bit platforms this test is failing on both armv7 and i686 and is related to year 2038 issue so it probably affects all 32 bit platforms --- pkgs/development/web/nodejs/nodejs.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index 8881d608c95b..ab63e1e14a7a 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -321,6 +321,9 @@ let "test-watch-mode-files_watcher" ] ++ lib.optionals (!lib.versionAtLeast version "22") [ "test-tls-multi-key" + ] ++ lib.optionals stdenv.hostPlatform.is32bit [ + # utime (actually utimensat) fails with EINVAL on 2038 timestamp + "test-fs-utimes-y2K38" ] ++ lib.optionals stdenv.buildPlatform.isDarwin [ # Disable tests that don’t work under macOS sandbox. "test-macos-app-sandbox"