···78buildGoModule rec {
9 pname = "codecrafters-cli";
10- version = "34";
1112 src = fetchFromGitHub {
13 owner = "codecrafters-io";
14 repo = "cli";
15 rev = "v${version}";
16- hash = "sha256-+daBduhjUt7lrjTdXgm1qpZN1oEHC3Nx+ZiOLoO5+s4=";
17 # A shortened git commit hash is part of the version output, and is
18 # needed at build time. Use the `.git` directory to retrieve the
19 # commit SHA, and remove the directory afterwards since it is not needed
···25 '';
26 };
2728- vendorHash = "sha256-TQcxzfiqKeCQZUKLHnPjBa/0WsYJhER3fmr4cRGFknw=";
2930 ldflags = [
31 "-s"
···38 ldflags+=" -X github.com/codecrafters-io/cli/internal/utils.Commit=$(cat COMMIT)"
39 '';
4041- doCheck = true;
004243 nativeBuildInputs = [ git ];
44
···78buildGoModule rec {
9 pname = "codecrafters-cli";
10+ version = "35";
1112 src = fetchFromGitHub {
13 owner = "codecrafters-io";
14 repo = "cli";
15 rev = "v${version}";
16+ hash = "sha256-gCSlXI8DggQts7Em1onD4B5CxrfAlPuwovWRUgpsu/E=";
17 # A shortened git commit hash is part of the version output, and is
18 # needed at build time. Use the `.git` directory to retrieve the
19 # commit SHA, and remove the directory afterwards since it is not needed
···25 '';
26 };
2728+ vendorHash = "sha256-lRDHe/7kCy8T4paA/6FVfM/sjBpvcGWLeW7b+dOnFo0=";
2930 ldflags = [
31 "-s"
···38 ldflags+=" -X github.com/codecrafters-io/cli/internal/utils.Commit=$(cat COMMIT)"
39 '';
4041+ # We need to disable tests because the tests for respecting .gitignore
42+ # include setting up a global gitignore which doesn't work.
43+ doCheck = false;
4445 nativeBuildInputs = [ git ];
46