Skip to content

Commit cbd27bf

Browse files
authored
codecrafters-cli: 34 -> 35 (#358424)
2 parents f0c2751 + 27f7066 commit cbd27bf

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pkgs/by-name/co/codecrafters-cli/package.nix

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
buildGoModule rec {
99
pname = "codecrafters-cli";
10-
version = "34";
10+
version = "35";
1111

1212
src = fetchFromGitHub {
1313
owner = "codecrafters-io";
1414
repo = "cli";
1515
rev = "v${version}";
16-
hash = "sha256-+daBduhjUt7lrjTdXgm1qpZN1oEHC3Nx+ZiOLoO5+s4=";
16+
hash = "sha256-gCSlXI8DggQts7Em1onD4B5CxrfAlPuwovWRUgpsu/E=";
1717
# A shortened git commit hash is part of the version output, and is
1818
# needed at build time. Use the `.git` directory to retrieve the
1919
# commit SHA, and remove the directory afterwards since it is not needed
@@ -25,7 +25,7 @@ buildGoModule rec {
2525
'';
2626
};
2727

28-
vendorHash = "sha256-TQcxzfiqKeCQZUKLHnPjBa/0WsYJhER3fmr4cRGFknw=";
28+
vendorHash = "sha256-lRDHe/7kCy8T4paA/6FVfM/sjBpvcGWLeW7b+dOnFo0=";
2929

3030
ldflags = [
3131
"-s"
@@ -38,7 +38,9 @@ buildGoModule rec {
3838
ldflags+=" -X github.com/codecrafters-io/cli/internal/utils.Commit=$(cat COMMIT)"
3939
'';
4040

41-
doCheck = true;
41+
# 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;
4244

4345
nativeBuildInputs = [ git ];
4446

0 commit comments

Comments
 (0)