Nix package fails to install due to a hash mismatch

未關閉
#790 3 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 1 天內回覆

@wojcik91 已經在處理了。

開始於 2026年2月23日。

  • #791 來自 @wojcik91 —— 已合併

評估

這個 Issue 還沒有評估資料。

描述

error: hash mismatch in fixed-output derivation '/nix/store/n7vikddbprcnbq81p160vlr4z8m3hwi8-defguard-client-pnpm-deps.drv':
         specified: sha256-48qxI+sEoLyXpCSUu1OPtDt5XgJa1ohCU40q4J91btk=
            got:    sha256-SnWvG+eUnPyjZVTW/G4hNBBJ90RqPb+wiB45gnnC9hs=
error: Cannot build '/nix/store/mvffj9jnhq09fcd0m2fjlj5pfd71fd3h-defguard-client-1.6.5.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/rlaqg3vszcgihhqjnviwgbw72vpiir5w-defguard-client-1.6.5
error: Cannot build '/nix/store/n1c3xj2bg1xd6d71iv233yv87683m5xk-system-path.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/lc5026w64cd72zbkc56d6r384ilr0vnw-system-path
error: Cannot build '/nix/store/dchv4s364dfskh81x74b1ilwzqr9sf9g-unit-defguard-service.service.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/pchfikr0yyfnda65fij3sj031ivlnld9-unit-defguard-service.service
error: Cannot build '/nix/store/w00li08f6zaq3jhh4sgygbdhr1akgk8i-nixos-system-crow-25.11.20260128.fa83fd8.drv'.
       Reason: 1 dependency failed.
       Output paths:
         /nix/store/b9aixp98qrxv9jyqmsjibm12sqnh2lvw-nixos-system-crow-25.11.20260128.fa83fd8

Seems like it's downloading some out-of-band dependencies before building which fails the input hash check? @wojcik91

主要語言
Rust
星號
373
分支
42
平均合併
1 天 48 分鐘
30 天內合併 PR
55

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

DefGuard/client 的其他 Issue

查看 DefGuard/client 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。