Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
diff --git a/node_build/make.js b/node_build/make.js
|
|
index 1d0b0fa..b640f31 100644
|
|
--- a/node_build/make.js
|
|
+++ b/node_build/make.js
|
|
@@ -254,21 +254,8 @@ Builder.configure({
|
|
|
|
}).nThen(function (waitFor) {
|
|
|
|
- const dir = `${builder.config.buildDir}/../..`;
|
|
- Fs.readdir(dir, waitFor((err, ret) => {
|
|
- if (err) { throw err; }
|
|
- ret.forEach((f) => {
|
|
- if (!/^libsodium-sys-/.test(f)) { return; }
|
|
- const inclPath = `${dir}/${f}/out/source/libsodium/src/libsodium/include`;
|
|
- Fs.readdir(inclPath, waitFor((err, ret) => {
|
|
- if (foundSodium) { return; }
|
|
- if (err && err.code === 'ENOENT') { return; }
|
|
- if (err) { throw err; }
|
|
- builder.config.includeDirs.push(inclPath);
|
|
- foundSodium = true;
|
|
- }));
|
|
- });
|
|
- }));
|
|
+ builder.config.includeDirs.push("@libsodium_include_dir@");
|
|
+ foundSodium = true;
|
|
|
|
}).nThen(function (waitFor) {
|
|
|