Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: bitwarden-desktop 0 -> 1 attrpath: bitwarden-desktop 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/sqhj2kji3f0z55mighrmd0sra0ib8szn-packages.json.drv building '/nix/store/sqhj2kji3f0z55mighrmd0sra0ib8szn-packages.json.drv'... Going to be running update for following packages: - bitwarden-desktop-2026.2.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - bitwarden-desktop-2026.2.1: UPDATING ... - bitwarden-desktop-2026.2.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/bi/bitwarden-desktop/package.nix b/pkgs/by-name/bi/bitwarden-desktop/package.nix index 926bfdde293d..753863b8884b 100644 --- a/pkgs/by-name/bi/bitwarden-desktop/package.nix +++ b/pkgs/by-name/bi/bitwarden-desktop/package.nix @@ -33,13 +33,13 @@ let in buildNpmPackage' rec { pname = "bitwarden-desktop"; - version = "2026.2.1"; + version = "2026.3.1"; src = fetchFromGitHub { owner = "bitwarden"; repo = "clients"; rev = "desktop-v${version}"; - hash = "sha256-BiL9ugimdDKIzIoehGqdBfJkTOjbOMl8XV+0g/aGS/k="; + hash = "sha256-ecaCHk04N9h0RP8gK0o+MLgYS6Linsqi7AaC86hwQ3U="; }; patches = [ @@ -84,7 +84,7 @@ buildNpmPackage' rec { "--ignore-scripts" ]; npmWorkspace = "apps/desktop"; - npmDepsHash = "sha256-S34Lxr9dH9wjBmpDYA530z2/HiY4D4b/3rswWDqsrFU="; + npmDepsHash = "sha256-dlYN2aiv6XbDXQVstfI6XIe+X5Q1lqs62eNalGTGx7k="; cargoDeps = rustPlatform.fetchCargoVendor { inherit @@ -94,7 +94,7 @@ buildNpmPackage' rec { cargoRoot patches ; - hash = "sha256-qK7cwrTzGKgHdaxaGcpR6bKJP/Tai2F+KFLu/PI6qqA="; + hash = "sha256-d9Iv7OekHOteH1lyAuyj/EzfU/KSCW6ATx83foOW3IE="; }; cargoRoot = "apps/desktop/desktop_native"; 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 bitwarden-desktop nix build failed. Hunk #1 succeeded at 107 (offset 27 lines). applying patch /nix/store/wzlvx8crx7n11m49d3iy72pdrv20g82f-set-desktop-proxy-path.patch patching file apps/desktop/src/main/native-messaging.main.ts Hunk #1 succeeded at 437 (offset -63 lines). applying patch /nix/store/vvzmibijrh5pr5y7k4phjndp9pi1grgy-skip-afterpack-and-aftersign.patch patching file apps/desktop/scripts/after-pack.js Hunk #1 succeeded at 16 (offset 3 lines). patching file apps/desktop/scripts/after-sign.js Executing cargoSetupPostPatchHook Validating consistency between /build/source/apps/desktop/desktop_native/Cargo.lock and /build/bitwarden-desktop-2026.3.1-vendor/Cargo.lock Finished cargoSetupPostPatchHook Executing npmConfigHook Configuring npm Validating consistency between /build/source/package-lock.json and /nix/store/7yf4q4c19mh0nkss6zkzi64khq8hhw8q-bitwarden-desktop-2026.3.1-npm-deps/package-lock.json Fixing lockfile Making cache writable Setting npm_config_cache to /build/cache Installing dependencies npm error code ENOTCACHED npm error request to https://registry.npmjs.org/@napi-rs%2fcli 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-04-26T15_30_39_870Z-debug-0.log ERROR: npm failed to install dependencies Here are a few things you can try, depending on the error: 1. Set `npmDepsFetcherVersion = 2` (and update `npmDepsHash`) 2. 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. 3. Set `npmFlags = [ "--legacy-peer-deps" ]`