Skip to content

Commit 1bcf4e7

Browse files
committed
[DDW-1227] Fix ‘scripts/rebuild-native-modules.sh’
1 parent 9c77ef6 commit 1bcf4e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/rebuild-native-modules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ find . -type f -name '*.node' -not -path '*/@swc*/*' -exec rm -vf {} ';'
1515
# Let’s patch electron-rebuild to force correct Node.js headers to
1616
# build native modules against even in `nix-shell`, otherwise, it
1717
# doesn’t work reliably.
18-
nix run -L .#internal."${system:-x86_64-darwin}".mainnet.common.patchElectronRebuild
18+
nix run -L .#internal."${system:-x86_64-darwin}".common.patchElectronRebuild
1919

2020
# XXX: Electron 24.2 requires c++17, not 14 (or old 1y):
2121
sed -r 's,std=c\+\+(14|1y),std=c++17,g' -i node_modules/usb/binding.gyp

0 commit comments

Comments
 (0)