mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
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:
1 parent
db9da5d184
commit
6909ea6db9
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user