!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

212 Members
61 Servers

Load older messages


SenderMessageTime
3 May 2026
@hexa:lossy.networkhexaRedacted or Malformed Event14:08:52
7 May 2026
@crosszsz:matrix.orgSim '-' joined the room.17:52:11
8 May 2026
@jopejoe1:matrix.orgjopejoe1 changed their display name from jopejoe1 (4094@epvpn) to jopejoe1.08:42:29
@rasmata:matrix.org@rasmata:matrix.org joined the room.20:54:34
@rasmata:matrix.org@rasmata:matrix.org left the room.20:54:42
16 May 2026
@joaomoreira:matrix.org@joaomoreira:matrix.org left the room.18:35:25
19 May 2026
@amadaluzia:4d2.orgamadaluzia changed their profile picture.20:56:23
26 May 2026
@phanirithvij:matrix.orgphanirithvij changed their display name from loudgolem to phanirithvij.11:40:26
29 May 2026
@lassulus:lassul.uslassulus changed their profile picture.07:06:09
1 Jun 2026
@aangularframework:matrix.org@aangularframework:matrix.org left the room.04:32:17
4 Jun 2026
@callmeecho:matrix.orgEcho changed their profile picture.04:22:41
7 Jun 2026
@worldsgonemad:matrix.orgWorldsGoneMad joined the room.20:35:09
9 Jun 2026
@jammie:matrix.orgJamieMagee joined the room.22:50:07
@jammie:matrix.orgJamieMageeI'm not sure how much this'll impact nixpkgs, but I'd rather let people know early https://github.blog/changelog/2026-06-09-upcoming-breaking-changes-for-npm-v12/22:51:30
10 Jun 2026
@pyrox:pyrox.devdish [Fox/It/She]i think we already disable scripts by default since many access the network00:06:27
@mattsturg:matrix.orgMatt Sturgeon

I'm experimenting with adding a nix package to nexus mods' Vortex repo: https://github.com/MattSturgeon/Vortex/tree/nix-package

It uses pnpm, but my current package is failing with:

Executing pnpmConfigHook
~ /build/source
/build/source
Found 'pnpm' with version '11.1.2'
Using fetcherVersion: 3
Configuring pnpm store
Installing dependencies
[ERROR] Unknown option: 'frozen-lockfile'
Did you mean 'lockfile'? Use "--config.unknown=value" to force an unknown option.
For help, run: pnpm help add

ERROR: pnpm failed to install dependencies

which almost seems like --frozen-lockfile (a valid pnpm flag) is being passed to some other command?

15:27:38
@scrumplex:duckhub.ioScrumplex

An ugly way to find out what that flag is being passed to is to add

  preConfigure = ''
    set -x
  '';
18:43:52
@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
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

Show newer messages


Back to Room ListRoom Version: 6