There was an error while loading. Please reload this page.
1 parent 27b1f13 commit 783d2fdCopy full SHA for 783d2fd
1 file changed
tools/nix/v8.nix
@@ -130,6 +130,12 @@ stdenv.mkDerivation (finalAttrs: {
130
fi
131
done
132
''
133
+ # TODO: remove that custom patch in favor of https://chromium-review.googlesource.com/c/v8/v8/+/8500805
134
+ + (lib.optionalString (with stdenv.hostPlatform; isLinux && isArm64) ''
135
+ substituteInPlace deps/v8/src/base/memcopy.h --replace-fail '#define V8_BASE_MEMCOPY_H_' "$(
136
+ printf '%s\n\n%s\n' '#define V8_BASE_MEMCOPY_H_' '#include <limits.h>'
137
+ )"
138
+ '')
139
# We also need to mock some Python util files that are not used to configure Python.
140
# Mocking lets us avoid rebuilding the whole derivation if there's a unrelated
141
# change in one of those files.
0 commit comments