25 Mar 2023 |
Lily Foster | Ah it's trying to download it then. I think there may be a supet secret env var to prevent that but I forget | 20:04:14 |
@ambroisie:belanyi.fr | Mmh it's needed by vite , so I'm not sure how to remove it from the package set | 20:05:17 |
Lily Foster | Maybe try setting ESBUILD_BINARY_PATH = lib.getExe buildPlatform.esbuild; to the derivation? Not sure that'll work though | 20:23:16 |
@ambroisie:belanyi.fr | Ooh, seems to have built! | 20:43:47 |
@ambroisie:belanyi.fr | Thanks for the tip | 20:43:52 |
Lily Foster | Oh good! (Honestly I'm a tad surprised that worked...) | 20:44:52 |
raitobezarius | #nodejsmoments | 20:45:54 |
@ambroisie:belanyi.fr | Let's see if I broke everything now | 20:52:34 |
| * @ambroisie:belanyi.fr launches nixos-rebuild | 20:52:46 |
@ambroisie:belanyi.fr | Seems to be working 🎉 | 21:06:22 |
26 Mar 2023 |
| rbutani joined the room. | 00:34:24 |
dotlambda | In reply to @lily:lily.flowers Maybe try setting ESBUILD_BINARY_PATH = lib.getExe buildPlatform.esbuild; to the derivation? Not sure that'll work though Note that the version needs to match up with the one in package-lock.json. See e.g. the expression for deltachat-desktop. | 16:34:09 |
dotlambda | Ambroisie: ^ | 16:34:30 |
@ambroisie:belanyi.fr | Arf | 17:19:43 |
@ambroisie:belanyi.fr | So it happens to work for now, but needs pinning to avoid problems when it invariably gets bumped | 17:20:14 |
29 Mar 2023 |
| Pol changed their profile picture. | 08:34:04 |
2 Apr 2023 |
| aktaboot left the room. | 17:12:57 |
5 Apr 2023 |
| redstone-menace joined the room. | 05:52:04 |
11 Apr 2023 |
| justingrant joined the room. | 04:55:06 |
12 Apr 2023 |
dotlambda | In reply to @robert:funklause.de Has anyone ever tried packaging an electron-forge app in Nixpkgs? Two application I would like to package properly if I could: Zettlr and Nextcloud Talk | 02:13:45 |
dotlambda | * Two applications I would like to package properly if I could: Zettlr and Nextcloud Talk | 02:13:58 |
15 Apr 2023 |
| ixxie left the room. | 10:09:48 |
22 Apr 2023 |
| aktaboot joined the room. | 17:38:50 |
aktaboot | Hello,
Any idea how to go around fixing such an error :
error: builder for '/nix/store/y6cnwy9y1s600xvpcxjnvc62af1b9i54-offline.drv' failed with exit code 1;
last 10 log lines:
> building
> SyntaxError: Unknown token: { line: 5, col: 12, type: 'NUMBER', value: 4 } 5:12 in lockfile
> at Parser.unexpected (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5064:11)
> at Parser.parse (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5193:14)
> at Parser.parse (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5147:28)
> at Parser.parse (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5147:28)
> at parse (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5262:17)
> at module.exports.exports.default (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:4835:96)
> at prefetchYarnDeps (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/index.js:129:28)
> at main (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/index.js:183:9)
For full logs, run 'nix log /nix/store/y6cnwy9y1s600xvpcxjnvc62af1b9i54-offline.drv'.
I tried running the fixup_yarn_lock on the yarn.lock file in configurePhase but it doesn't make it better | 17:41:27 |
aktaboot | https://0x0.st/HK-k.nix | 17:42:25 |
Lily Foster | In reply to @aktaboot:tchncs.de
Hello,
Any idea how to go around fixing such an error :
error: builder for '/nix/store/y6cnwy9y1s600xvpcxjnvc62af1b9i54-offline.drv' failed with exit code 1;
last 10 log lines:
> building
> SyntaxError: Unknown token: { line: 5, col: 12, type: 'NUMBER', value: 4 } 5:12 in lockfile
> at Parser.unexpected (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5064:11)
> at Parser.parse (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5193:14)
> at Parser.parse (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5147:28)
> at Parser.parse (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5147:28)
> at parse (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5262:17)
> at module.exports.exports.default (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:4835:96)
> at prefetchYarnDeps (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/index.js:129:28)
> at main (/nix/store/8b0d75k79ldnx2rqri9q17mb52gdk9hb-prefetch-yarn-deps/libexec/index.js:183:9)
For full logs, run 'nix log /nix/store/y6cnwy9y1s600xvpcxjnvc62af1b9i54-offline.drv'.
I tried running the fixup_yarn_lock on the yarn.lock file in configurePhase but it doesn't make it better Can you share the yarn.lock? This is complaining about a syntax error in it and is coming from the upstream yarnpkg parser itself | 19:52:02 |
aktaboot | In reply to @lily:lily.flowers Can you share the yarn.lock? This is complaining about a syntax error in it and is coming from the upstream yarnpkg parser itself https://github.com/toeverything/AFFiNE/blob/v0.5.3/yarn.lock this is the yarn.lock | 19:59:39 |
Lily Foster | Oh this is a yarn 2 lockfile | 20:19:14 |
Lily Foster | We, uh, should probably make tooling to handle those soon | 20:19:30 |
23 Apr 2023 |
raitobezarius | We can discuss it here Lily Foster indeed | 14:39:01 |