gdscript-formatter: fix hash, remove .git from src

Before this, rebuilding `src` multiple times sometimes resulted in
different hashes due to differences in `.git`.

Hydra: https://hydra.nixos.org/build/319210955
This commit is contained in:
Tom Hunze
2026-01-21 16:55:59 +01:00
parent 339dd6c0c4
commit 61d37580b2
@@ -14,9 +14,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
owner = "GDQuest";
repo = "GDScript-formatter";
tag = finalAttrs.version;
hash = "sha256-nnLVmd7wVHdDcAnyCHCVYckmbzMdSGIVL2iSgDC+9cs=";
hash = "sha256-V9zrL2Aku5e+9McXpXdXvsGJKjqVXIIaAsoAF2xHB4g=";
# Needed due to .gitattributes being used for the Godot addon and export-ignoring all files
deepClone = true;
# Avoid hash differences due to differences in .git
leaveDotGit = false;
};
cargoHash = "sha256-xqGmv/e1Ch/EqutIb2claiJ8fQGDDdOriOZdt8SR8mw=";