diff --git a/pkgs/by-name/st/step-ca/package.nix b/pkgs/by-name/st/step-ca/package.nix index 2a3a89f26918..1498fe059281 100644 --- a/pkgs/by-name/st/step-ca/package.nix +++ b/pkgs/by-name/st/step-ca/package.nix @@ -12,16 +12,21 @@ buildGoModule rec { pname = "step-ca"; - version = "0.28.3"; + version = "0.28.4"; src = fetchFromGitHub { owner = "smallstep"; repo = "certificates"; tag = "v${version}"; - hash = "sha256-5W39Nc6WuxhrXbEfPWMaWWAUX6UnjYqlEAPlDCeYgrY="; + # Source uses git export-subst and isn't reproducible when fetching as git archive, + # see https://github.com/smallstep/certificates/blob/6a1250131284dce4aa66c0e0e3f7a3202dd56ad0/.gitattributes. + # Use forceFetchGit to fetch the source as git repo, as fetchGit isn't effected, + # see https://github.com/NixOS/nixpkgs/issues/84312#issuecomment-2475948960. + forceFetchGit = true; + hash = "sha256-ZIpsSNdQVkelo5b3H03N8qToHU7z+lalAE7Ur6m2YwY="; }; - vendorHash = "sha256-AuMYdZa1QpmMQZxlv+lmoWtszQkVdwXOTXxY8CWaUbI="; + vendorHash = "sha256-gGPrrl5J8UrjUpof2DaSs1fAQsMSsyAMlC67h5V75+k="; ldflags = [ "-w"