!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

211 Members
61 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
25 Mar 2023
@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.orgMatan (ixxie) 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

Show newer messages


Back to Room ListRoom Version: 6