Unverified Commit 61d37580 authored by Tom Hunze's avatar Tom Hunze
Browse files

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
parent 339dd6c0
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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=";