| 14 Dec 2022 |
Winter (she/her) | Jeroen Simonetti: This uses Yarn "berry," which we don't support at this time. | 18:22:37 |
Winter (she/her) | (It's essentially a rewrite of Yarn, but barely any packages use it.) | 18:22:54 |
Jeroen Simonetti | Check. That's unfortunate, but thank you for the quick response! | 18:23:27 |
Winter (she/her) | It's on my shortlist of things to tackle, though. No clue when I'll get to it considering everything else that's in front of it, but I hope I'll eventually be able to do it. | 18:24:06 |
| 17 Dec 2022 |
Winter (she/her) | @Jeroen Simonetti, with regards to our conversation about berry, I spent some time thinking about it yesterday, and have a pretty easy to implement solution in mind. I'll implement it soon :) | 20:26:58 |
Jeroen Simonetti | Awesome! Looking forward to it! | 20:27:43 |
| 19 Dec 2022 |
| marijan joined the room. | 14:50:40 |
| 21 Dec 2022 |
| Yuu Yin changed their display name from yuu✨✨ to Yuu☯Yin. | 19:54:57 |
| 22 Dec 2022 |
aktaboot | In reply to @winterqt:nixos.dev @aktaboot, I can't repro your issue, FWIW. The only thing that was being thrown was that Python was missing, right? hmm, this is weird, I just retried and it give me the same error as before 🤔 did you use the file I uploaded for your test ?
I think the error is that it trying to fetch something while building, and can't | 14:38:27 |
aktaboot | does not seem directly related to python | 14:39:23 |
aktaboot | Redacted or Malformed Event | 14:40:19 |
aktaboot | https://pastebin.com/32vkue0f | 14:41:14 |
Winter (she/her) | In reply to @aktaboot:tchncs.de https://pastebin.com/32vkue0f Ah, yeah, I didn't run into that issue because I'm using to-be-upstreamed tooling that takes care of that.
In the meantime, you can add npm_config_nodedir = srcOnly nodejs to your derivation. | 14:42:51 |
aktaboot | oh okay, would that 'break' the sandbox ? | 14:46:43 |
Winter (she/her) | no. (why do you think it would?) | 14:50:54 |
aktaboot | still getting failed download, but now for another thing (esbuild-linux-64) | 14:51:01 |
aktaboot | In reply to @winterqt:nixos.dev no. (why do you think it would?) I assumed the error came from the fact that build process has no network access | 14:52:02 |
Winter (she/her) | In reply to @aktaboot:tchncs.de I assumed the error came from the fact that build process has no network access what setting that env var does is point it to what it wants from the network | 14:52:25 |
Winter (she/her) | so it doesn't try to download it | 14:52:30 |
Winter (she/her) | In reply to @aktaboot:tchncs.de still getting failed download, but now for another thing (esbuild-linux-64) huh, i don't think i ran into that. can you send the drv so i can repro and see what would be different, just for my tooling dev sake?
also: setting ESBUILD_BINARY_PATH = "${lib.getExe buildPackages.esbuild} should fix that. | 14:56:16 |
Winter (she/her) | sorry, drop the quote and the interpolation | 14:56:45 |
Winter (she/her) | just do = lib.getExe ... | 14:56:51 |
aktaboot | https://pastebin.com/x9YwNYGj | 14:57:25 |
Winter (she/her) | In reply to @aktaboot:tchncs.de still getting failed download, but now for another thing (esbuild-linux-64) * huh, i don't think i ran into that. can you send the drv so i can repro and see what would be different, just for my tooling dev sake?
also: setting ESBUILD_BINARY_PATH = lib.getExe buildPackages.esbuild should fix that. | 14:57:27 |
Winter (she/her) | In reply to @aktaboot:tchncs.de https://pastebin.com/x9YwNYGj i mean the source :) | 14:57:34 |
aktaboot | http://0x0.st/o5pQ.nix | 14:58:29 |
Winter (she/her) | In reply to @winterqt:nixos.dev huh, i don't think i ran into that. can you send the drv so i can repro and see what would be different, just for my tooling dev sake?
also: setting ESBUILD_BINARY_PATH = lib.getExe buildPackages.esbuild should fix that. aktaboot: did that fix end up working btw | 16:56:50 |
aktaboot | Winter (she/her) no, It is pulling a different version of esbuild
error /build/source/node_modules/esbuild: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /build/source/node_modules/esbuild
Output:
/build/source/node_modules/esbuild/install.js:81
throw new Error(`Expected ${JSON.stringify(version)} but got ${JSON.stringify(stdout)}`);
^
Error: Expected "0.9.7" but got "0.16.7"
at validateBinaryVersion (/build/source/node_modules/esbuild/install.js:81:11)
at installDirectly (/build/source/node_modules/esbuild/install.js:191:5)
at installOnUnix (/build/source/node_modules/esbuild/install.js:221:5)
at Object.<anonymous> (/build/source/node_modules/esbuild/install.js:248:3)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
| 17:25:14 |
aktaboot | not sure if the different version is the cause of the error or not | 17:25:28 |
Winter (she/her) | In reply to @aktaboot:tchncs.de
Winter (she/her) no, It is pulling a different version of esbuild
error /build/source/node_modules/esbuild: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: /build/source/node_modules/esbuild
Output:
/build/source/node_modules/esbuild/install.js:81
throw new Error(`Expected ${JSON.stringify(version)} but got ${JSON.stringify(stdout)}`);
^
Error: Expected "0.9.7" but got "0.16.7"
at validateBinaryVersion (/build/source/node_modules/esbuild/install.js:81:11)
at installDirectly (/build/source/node_modules/esbuild/install.js:191:5)
at installOnUnix (/build/source/node_modules/esbuild/install.js:221:5)
at Object.<anonymous> (/build/source/node_modules/esbuild/install.js:248:3)
at Module._compile (node:internal/modules/cjs/loader:1159:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
you'll need to pull that version then | 17:25:35 |