From bf22dad8e816638e2412c5f0d762631448d719f3 Mon Sep 17 00:00:00 2001 From: NAX LAB <64031920+NAXLAB@users.noreply.github.com> Date: Thu, 5 Nov 2026 01:26:31 +0000 Subject: [PATCH] Fix: flake build fails on git dependencies in Cargo.lock (#12146) * Set `allowBuiltinFetchGit = true` in `cargoLock`: * Remove comment --- flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index b21292344..e2c341689 100644 --- a/flake.nix +++ b/flake.nix @@ -112,7 +112,11 @@ version = (pkgs.lib.importTOML ./Cargo.toml).workspace.package.version; src = self; - cargoLock.lockFile = ./Cargo.lock; + cargoLock = { + lockFile = ./Cargo.lock; + allowBuiltinFetchGit = true; + }; + # The CLI draws the same packaging icons as the other Linux distributions. cargoBuildFlags = [ "-p"