tools: pass the Temporal disable flag when disabled in shell.nix

Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/62733
Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
This commit is contained in:
Antoine du Hamel authored and GitHub committed 2026-04-16 14:29:38 +00:00
1 parent db9da5d184
commit 6909ea6db9
1 file changed
+1 -1
+1 -1
View File
@@ -65,8 +65,8 @@ let
else
"--with-intl=${if useSharedICU then "system" else icu}-icu"
)
"--v8-${if withTemporal then "enable" else "disable"}-temporal-support"
]
++ pkgs.lib.optional withTemporal "--v8-enable-temporal-support"
++ pkgs.lib.optional (withTemporal && useSharedTemporal) "--shared-temporal_capi";
in
pkgs.mkShell {