!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

213 Members
61 Servers

Load older messages


SenderMessageTime
27 Apr 2026
@ninja:worldethicaldataforum.orgNinja joined the room.14:31:50
28 Apr 2026
@aangularframework:matrix.org@aangularframework:matrix.org joined the room.04:38:27
3 May 2026
@hexa:lossy.networkhexa

vaultwarden webvault update fails with

npm error code ETARGET
npm error notarget No matching version found for @napi-rs/cli@3.5.1.
npm error notarget In most cases you or one of your dependencies are requesting
npm error notarget a package version that doesn't exist.
npm error A complete log of this run can be found in: /build/cache/_logs/2026-05-03T13_53_00_575Z-debug-0.log

ERROR: npm failed to install dependencies
13:53:56
@hexa:lossy.networkhexathis is a security update, so quick help is appreciated https://github.com/NixOS/nixpkgs/pull/51610913:54:06
@hexa:lossy.networkhexai tried updating to fetcher version 2, the cahce is writable and we enable legacy peer deps already13:54:36
@hsjobeki:matrix.orghsjobekiQuick check if npmjs registry has this version of @napi-rs/cli. There are cases where people unpublished versions. But I think npm forbids that now 13:59:00
@hexa:lossy.networkhexahttps://www.npmjs.com/package/@napi-rs/cli/v/3.5.114:08:48
@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

Show newer messages


Back to Room ListRoom Version: 6