mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
15 lines
383 B
Diff
15 lines
383 B
Diff
For some reason Node.js v22 has two different GYP versions vendored, and
|
|
only one of them contains `import sys`.
|
|
|
|
--- a/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
|
|
+++ b/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
|
|
@@ -25,6 +25,7 @@
|
|
import os
|
|
import re
|
|
import subprocess
|
|
+import sys
|
|
import gyp
|
|
import gyp.common
|
|
import gyp.xcode_emulation
|
|
|