nixos-systems/modules/system/librechat
Eli Ribble 27779f8256
Attempt to update librechat to the latest release candidate
This doesn't work, I fail to build with:

error: Cannot build '/nix/store/g6l9hkdpagw2bnmwahc02l52mkrffvgg-librechat-0.8.2-rc2.drv'.
       Reason: builder failed with exit code 1.
       Output paths:
         /nix/store/q4qgw0i8jwphy8zay91mc0ryn6dnrw94-librechat-0.8.2-rc2
       Last 25 log lines:
       > Running phase: patchPhase
       > applying patch /nix/store/bilh0c0cmfgnw2a7qn3dwxp71q2pl9ac-0001-npm-pack.patch
       > patching file package.json
       > applying patch /nix/store/0dk9z8sxk35dgwkfw0qsb1w683qw89yn-0002-logs.patch
       > patching file api/config/meiliLogger.js
       > patching file api/config/winston.js
       > applying patch /nix/store/h0m3hci4giadx23h8a47qwmabvz90s54-0003-upload-paths.patch
       > patching file api/config/paths.js
       > Executing npmConfigHook
       > Configuring npm
       > Validating consistency between /build/source/package-lock.json and /nix/store/sd3xvlghlw83aacmyqkxlcxvvxk3srad-librechat-0.8.2-rc2-npm-deps/package-lock.json
       > Making cache writable
       > Setting npm_config_cache to /build/cache
       > Installing dependencies
       > npm error code ENOTCACHED
       > npm error request to https://registry.npmjs.org/@testing-library%2freact failed: cache mode is 'only-if-cached' but no cached response is available.
       > npm error A complete log of this run can be found in: /build/cache/_logs/2026-01-13T16_43_25_772Z-debug-0.log
       >
       > ERROR: npm failed to install dependencies
       >
       > Here are a few things you can try, depending on the error:
       > 1. Set `makeCacheWritable = true`
       >   Note that this won't help if npm is complaining about not being able to write to the logs directory -- look above that for the actual error.
       > 2. Set `npmFlags = [ "--legacy-peer-deps" ]`
       >
       For full logs, run:
         nix log /nix/store/g6l9hkdpagw2bnmwahc02l52mkrffvgg-librechat-0.8.2-rc2.drv
error: Cannot build '/nix/store/mwicxm33crq9iv9gc3pkyns3dsfijvc4-system-path.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/kgm1vrr5vp07jswzqn9v70k8i8vq38i6-system-path
error: Cannot build '/nix/store/56ck3y67vqv06vjhi55smz2zcczch8rr-unit-librechat.service.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/1p3js87qgsdvdnfmisli6jwck474h4xj-unit-librechat.service
error: Cannot build '/nix/store/x6lmb98l84hjvrlvla1hrmqs7mjxndwn-nixos-system-nocix-amd-legacy-octacore-25.11.20260110.d030887.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/yd6x6a6grvahryrfazdd8xqmb7znmpfs-nixos-system-nocix-amd-legacy-octacore-25.11.20260110.d030887
2026-01-13 16:56:10 +00:00
..
0001-npm-pack.patch Attempt to update librechat to the latest release candidate 2026-01-13 16:56:10 +00:00
0002-logs.patch Attempt to update librechat to the latest release candidate 2026-01-13 16:56:10 +00:00
0003-upload-paths.patch Use librechat 0.8.0-rc2, add config directory 2025-08-11 18:45:18 +00:00
package.nix Attempt to update librechat to the latest release candidate 2026-01-13 16:56:10 +00:00