From fc5e991a751ff372a3ff0243d1353b249e643bd8 Mon Sep 17 00:00:00 2001 From: juve Date: Mon, 13 Jul 2026 16:27:19 +0800 Subject: [PATCH] fix nix build & update deps --- flake.lock | 12 ++++++------ flake.nix | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/flake.lock b/flake.lock index 7fd8c488f..47bba0130 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/flake.nix b/flake.nix index 76a2cb141..ec9717dca 100644 --- a/flake.nix +++ b/flake.nix @@ -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=";