!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

214 Members
63 Servers

Load older messages


SenderMessageTime
10 Jun 2026
@scrumplex:duckhub.ioScrumplexAlso make sure to use fetcherVersion = 4, as version 3 is not reproducible across different systems with pnpm 1119:10:28
@scrumplex:duckhub.ioScrumplex

This is what I got

pnpm install --offline --ignore-scripts '' --frozen-lockfile

I assume the random empty string is the culprit

19:11:07
@scrumplex:duckhub.ioScrumplex Yup. Removing the pnpmInstallFlags attribute fixes it 19:12:05
@scrumplex:duckhub.ioScrumplex
    # NOTE: this hash changes whenever pnpm lock changes
    # TODO: update this automatically in CI and/or pre-commit

Another opportunity for me to mention my importPnpmLock.nix library (GitHub mirror)

It's similar to importCargoLock, importNpmLock and others from Nixpkgs, though this one sadly only works using IFD, as your pnpm-lock.yaml has to be converted to json first.

I have been using it at my workplace to build and package our Node apps using Nix. Without it, I wouldn't really be able to use Renovate bot very comfortably

19:16:56
@mattsturg:matrix.orgMatt SturgeonAh, I'll probably need to bump nixpkgs too then; they have a nixpkgs pinned that says "unrecognized version, use 1, 2, or 3". Also, the Nixpkgs manual is still saying "version 3 is recommended for new packages", does that need updating?19:40:21
@mattsturg:matrix.orgMatt Sturgeon Ah, enabling structuredAttrs seems to resolve that too; looks like empty flags list -> empty shell string with non-structured-attrs is buggy. Probably need to use stdenv's concatTo helper to normalize the flags array in the hook. 19:45:18
@mattsturg:matrix.orgMatt Sturgeon

The configure phase seems to be working now (pushed), thanks for the help!

Now, two of build steps are failing.

One of them (@vortex/main:download-duckdb-extensions) seems to be a "download" script, so no surprise there. Maybe I can run it in a separate FOD? Or download the same files manually and populate a cache directory?

https://github.com/Nexus-Mods/Vortex/blob/master/src/main/download-duckdb-extensions.ts

The other one (theme-switcher:build) I'm not sure of. It's package.json has:

  "scripts": {
    "_assets": "copyfiles themes/**/* dist && copyfiles -f src/theme_switcher.scss dist",
    "_native": "node ../copy-native.mjs -u 4 ./node_modules/font-scanner/build/Release/fontmanager.node",
    "build": "node build.mjs && pnpm run _assets && pnpm run _native && pnpm extractInfo",
    "typecheck": "pnpm tsc"
  },

https://github.com/Nexus-Mods/Vortex/blob/master/extensions/theme-switcher/build.mjs

20:48:53
11 Jun 2026
@mattsturg:matrix.orgMatt Sturgeon *

The configure phase seems to be working now (pushed), thanks for the help!

Now, two of build steps are failing.

One of them (@vortex/main:download-duckdb-extensions) seems to be a "download" script, so no surprise there. Maybe I can run it in a separate FOD? Or download the same files manually and populate a cache directory?

https://github.com/Nexus-Mods/Vortex/blob/master/src/main/download-duckdb-extensions.ts

EDIT: The first one I've worked-around with a fixed-output-derivation, but really needs upstream refactoring to improve how they fetch duckdb-extensions. The second one needed node-gyp to build a transitive dependency, oddly, I needed to run node-gyp manually in buildPhase.
The other one (theme-switcher:build) I'm not sure of. It's package.json has:

  "scripts": {
    "_assets": "copyfiles themes/**/* dist && copyfiles -f src/theme_switcher.scss dist",
    "_native": "node ../copy-native.mjs -u 4 ./node_modules/font-scanner/build/Release/fontmanager.node",
    "build": "node build.mjs && pnpm run _assets && pnpm run _native && pnpm extractInfo",
    "typecheck": "pnpm tsc"
  },

https://github.com/Nexus-Mods/Vortex/blob/master/extensions/theme-switcher/build.mjs

04:02:04
@mattsturg:matrix.orgMatt Sturgeon *

The configure phase seems to be working now (pushed), thanks for the help!

Now, two of build steps are failing.

One of them (@vortex/main:download-duckdb-extensions) seems to be a "download" script, so no surprise there. Maybe I can run it in a separate FOD? Or download the same files manually and populate a cache directory?

https://github.com/Nexus-Mods/Vortex/blob/master/src/main/download-duckdb-extensions.ts

EDIT: The first one I've worked-around with a fixed-output-derivation, but really needs upstream refactoring to improve how they fetch duckdb-extensions. The second one needed node-gyp to build a transitive dependency, oddly, I needed to run node-gyp manually in buildPhase.
The other one (theme-switcher:build) I'm not sure of. It's package.json has:

  "scripts": {
    "_assets": "copyfiles themes/**/* dist && copyfiles -f src/theme_switcher.scss dist",
    "_native": "node ../copy-native.mjs -u 4 ./node_modules/font-scanner/build/Release/fontmanager.node",
    "build": "node build.mjs && pnpm run _assets && pnpm run _native && pnpm extractInfo",
    "typecheck": "pnpm tsc"
  },

https://github.com/Nexus-Mods/Vortex/blob/master/extensions/theme-switcher/build.mjs

EDIT: The first one I've worked-around with a fixed-output-derivation, but really needs upstream refactoring to improve how they fetch duckdb-extensions. The second one needed node-gyp to build a transitive dependency, oddly, I needed to run node-gyp manually in buildPhase.

04:02:28
@rosssmyth:matrix.org@rosssmyth:matrix.orgCan also update the hook such that if fetcherVersion > 3, structuredAttrs is required 😎15:23:52
13 Jun 2026
@debtquity:matrix.orgdebtquity set a profile picture.03:22:58
5 Dec 2022
@grahamc:nixos.org@grahamc:nixos.org changed the history visibility to "world_readable" from "shared".14:44:17
@hexa:lossy.networkhexaThanks14:44:25
@winterqt:nixos.devWinter (she/her)
In reply to @hexa:lossy.network
Thanks
it doesn't look like he read the message, are you sure it wasn't just your server syncing the history :P
14:45:19
@hexa:lossy.networkhexa?14:45:48
@aktaboot:tchncs.deaktaboot

grahamc (he/him) made the room history world readable. Events may be now read by non-joined people.

14:46:07
@grahamc:nixos.org@grahamc:nixos.orgonly future history14:46:16
@aktaboot:tchncs.deaktaboot *

grahamc (he/him) made the room history world readable. Events may be now read by non-joined people.

14:46:21
@hexa:lossy.networkhexaYeah doesnt work into the past14:46:34
@hexa:lossy.networkhexaIMG_20221205_154711.jpg
Download IMG_20221205_154711.jpg
14:47:23
@winterqt:nixos.devWinter (she/her)
In reply to @hexa:lossy.network
Yeah doesnt work into the past
ah. by default you mean?
14:47:55
@aktaboot:tchncs.deaktaboothuh, I don't see dash's messages 🤔14:49:55
@washort:greyface.org@washort:greyface.orgOh no15:11:34
@washort:greyface.org@washort:greyface.orgDid you scroll all the way back to April? 😉15:12:27
9 Dec 2022
@winterqt:nixos.devWinter (she/her) @aktaboot, I can't repro your issue, FWIW. The only thing that was being thrown was that Python was missing, right? 03:04:29
13 Dec 2022
@raphi:tapesoftware.netraphi joined the room.19:01:16
14 Dec 2022
@jeroen:simonetti.nlJeroen Simonetti joined the room.17:42:51
@jeroen:simonetti.nlJeroen Simonetti

Hello,
I am trying to package github.com/zwave-js/zwave-js-ui but am getting an error during build phase of which I don;t realy know what to make of it. Mind you, I am a total nodejs novice, so this is probably due to pebkac. I would appreciate some help.
The error I am having is:

@nix { "action": "setPhase", "phase": "buildPhase" }
building
SyntaxError: Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in lockfile
    at Parser.unexpected (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5064:11)
    at Parser.parse (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5193:14)
    at parse (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5262:17)
    at module.exports.exports.default (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.j>
    at prefetchYarnDeps (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/index.js:129:28)
    at main (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/index.js:183:9)
17:45:27
@adam:valkor.netadamcstephens joined the room.18:18:09
@winterqt:nixos.devWinter (she/her) Jeroen Simonetti: This uses Yarn "berry," which we don't support at this time. 18:22:37

Show newer messages


Back to Room ListRoom Version: 6