!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

183 Members
52 Servers

Load older messages


SenderMessageTime
25 Mar 2023
@lily:lily.flowersLily FosterAh it's trying to download it then. I think there may be a supet secret env var to prevent that but I forget20:04:14
@ambroisie:belanyi.fr@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:lily.flowersLily 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@ambroisie:belanyi.frOoh, seems to have built! 20:43:47
@ambroisie:belanyi.fr@ambroisie:belanyi.frThanks for the tip 20:43:52
@lily:lily.flowersLily FosterOh good! (Honestly I'm a tad surprised that worked...)20:44:52
@raitobezarius:matrix.orgraitobezarius#nodejsmoments20:45:54
@ambroisie:belanyi.fr@ambroisie:belanyi.frLet's see if I broke everything now 20:52:34
* @ambroisie:belanyi.fr@ambroisie:belanyi.fr launches nixos-rebuild 20:52:46
@ambroisie:belanyi.fr@ambroisie:belanyi.frSeems to be working 🎉21:06:22
26 Mar 2023
@rbutani:matrix.orgrbutani joined the room.00:34:24
@robert:funklause.dedotlambda
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
@robert:funklause.dedotlambda Ambroisie: ^ 16:34:30
@ambroisie:belanyi.fr@ambroisie:belanyi.frArf 17:19:43
@ambroisie:belanyi.fr@ambroisie:belanyi.frSo it happens to work for now, but needs pinning to avoid problems when it invariably gets bumped 17:20:14
29 Mar 2023
@drupol:matrix.orgPol changed their profile picture.08:34:04
2 Apr 2023
@aktaboot:tchncs.deaktaboot left the room.17:12:57
5 Apr 2023
@redstone-menace:matrix.orgredstone-menace joined the room.05:52:04
11 Apr 2023
@justingrant:matrix.orgjustingrant joined the room.04:55:06
12 Apr 2023
@robert:funklause.dedotlambda
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
@robert:funklause.dedotlambda* Two applications I would like to package properly if I could: Zettlr and Nextcloud Talk02:13:58
15 Apr 2023
@ixxie:matrix.orgixxie left the room.10:09:48
22 Apr 2023
@aktaboot:tchncs.deaktaboot joined the room.17:38:50
@aktaboot:tchncs.deaktaboot

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:tchncs.deaktaboot https://0x0.st/HK-k.nix 17:42:25
@lily:lily.flowersLily 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:tchncs.deaktaboot
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:lily.flowersLily FosterOh this is a yarn 2 lockfile20:19:14
@lily:lily.flowersLily FosterWe, uh, should probably make tooling to handle those soon20:19:30
23 Apr 2023
@raitobezarius:matrix.orgraitobezarius We can discuss it here Lily Foster indeed 14:39:01

There are no newer messages yet.


Back to Room ListRoom Version: 6