fix nix build & update deps

This commit is contained in:
juve 2026-07-13 16:27:19 +08:00 committed by GitHub
parent 6c661e8744
commit fc5e991a75
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

View File

@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1783224372,
"narHash": "sha256-8i/87eeoqiGE4yOTjwSA3Eh/ziJRQEmd/unYU+K27sk=",
"lastModified": 1783776592,
"narHash": "sha256-UgCQzxeWI75XM8G+hPrPh+MKzEPjG3SpAj7dtqSbksA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d407951447dcd00442e97087bf374aad70c04cea",
"rev": "e7a3ca8092b61ff85b6a45bf863ea2b2d6a661b3",
"type": "github"
},
"original": {
@ -48,11 +48,11 @@
]
},
"locked": {
"lastModified": 1783614422,
"narHash": "sha256-zSX553aXiIKJHWzUF6nrDKgeNRlfNK/SdyNYSbs2nkM=",
"lastModified": 1783834461,
"narHash": "sha256-FCmrs1StAghJDKfqy56KM96KZtxpYzgeq6zM3QO8wjA=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "e8e9d70b96113fd49ccde6c3e08fb260b6ef5dd6",
"rev": "a286e5b998e852297a403786f063fb2c9fe7f57a",
"type": "github"
},
"original": {

View File

@ -175,8 +175,8 @@
# a content-addressed store path so the build sandbox has no network. #
pnpmDeps = pkgs.fetchPnpmDeps {
inherit (finalAttrs) pname version src;
# nixpkgs 26.11+ requires fetcherVersion = 3 (versions 1 & 2 removed)
fetcherVersion = 3;
# `fetcherVersion = 4` is supported for `pnpm_11`
fetcherVersion = 4;
# Replace with the correct hash after the first failed build:
# nix build .#dbx-desktop 2>&1 | grep 'got:'
hash = "sha256-e2/C37EaymMy3vG1MBZyxCa2sWlsl3OV9LLfJAHXrO0=";