Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: librechat 0 -> 1 attrpath: librechat Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] skipping because derivation has updateScript [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/fcdiblk8hpx82fvniz2jr80v9hq8ik1y-packages.json.drv building '/nix/store/fcdiblk8hpx82fvniz2jr80v9hq8ik1y-packages.json.drv'... Going to be running update for following packages: - librechat-0.8.6 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - librechat-0.8.6: UPDATING ... - librechat-0.8.6: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/li/librechat/package.nix b/pkgs/by-name/li/librechat/package.nix index 45b334359418..fdcbaf4576d8 100644 --- a/pkgs/by-name/li/librechat/package.nix +++ b/pkgs/by-name/li/librechat/package.nix @@ -12,13 +12,13 @@ buildNpmPackage (finalAttrs: { pname = "librechat"; - version = "0.8.6"; + version = "0.8.7"; src = fetchFromGitHub { owner = "danny-avila"; repo = "LibreChat"; tag = "v${finalAttrs.version}"; - hash = "sha256-cWgjsLN7NnJNJ1hYPo0h3lh+W4wi9qqttevNfNrYdXg="; + hash = "sha256-egnmkYpQS/AshMmXP5C8qhwA+7TPZYnu0ct552HFjGg="; }; patches = [ @@ -35,7 +35,7 @@ buildNpmPackage (finalAttrs: { ]; npmDepsFetcherVersion = 2; - npmDepsHash = "sha256-Y+oC9eigwzL8jei5Hs4YOf32oFgULPmHrSDApxPKh+0="; + npmDepsHash = "sha256-U2DzvfzKCmAYLFG0FbFcng5goj1mYCjTpJuQ36fVNuA="; # npm dependency install fails with nodejs_24: https://github.com/NixOS/nixpkgs/issues/474535 nodejs = nodejs_22; No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A librechat nix build failed. > LibreChat@v0.8.7 build:data-provider > cd packages/data-provider && npm run build > librechat-data-provider@0.8.509 build > npm run clean && tsdown && tsc -p tsconfig.build.json > librechat-data-provider@0.8.509 clean > rimraf dist sh: /build/source/packages/data-provider/node_modules/.bin/tsdown: /usr/bin/env: bad interpreter: No such file or directory npm error Lifecycle script `build` failed with error: npm error code 126 npm error path /build/source/packages/data-provider npm error workspace librechat-data-provider@0.8.509 npm error location /build/source/packages/data-provider npm error command failed npm error command sh -c npm run clean && tsdown && tsc -p tsconfig.build.json ERROR: `npm run frontend [...]` failed Here are a few things you can try, depending on the error: 1. Make sure your build script (frontend) exists If there is none, set `dontNpmBuild = true`. 2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation See https://github.com/webpack/webpack/issues/14532 for more information.