Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

Fix: flake build fails on git dependencies in Cargo.lock (#12146)

NAX LABbf22dad8e816
diff --git a/flake.nix b/flake.nix
index b212923442..e2c3416894 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"