codecrafters-cli: 34 -> 35 (#358424)

Changed files
+6 -4
pkgs
by-name
co
codecrafters-cli
+6 -4
pkgs/by-name/co/codecrafters-cli/package.nix
···
buildGoModule rec {
pname = "codecrafters-cli";
-
version = "34";
+
version = "35";
src = fetchFromGitHub {
owner = "codecrafters-io";
repo = "cli";
rev = "v${version}";
-
hash = "sha256-+daBduhjUt7lrjTdXgm1qpZN1oEHC3Nx+ZiOLoO5+s4=";
+
hash = "sha256-gCSlXI8DggQts7Em1onD4B5CxrfAlPuwovWRUgpsu/E=";
# A shortened git commit hash is part of the version output, and is
# needed at build time. Use the `.git` directory to retrieve the
# commit SHA, and remove the directory afterwards since it is not needed
···
'';
};
-
vendorHash = "sha256-TQcxzfiqKeCQZUKLHnPjBa/0WsYJhER3fmr4cRGFknw=";
+
vendorHash = "sha256-lRDHe/7kCy8T4paA/6FVfM/sjBpvcGWLeW7b+dOnFo0=";
ldflags = [
"-s"
···
ldflags+=" -X github.com/codecrafters-io/cli/internal/utils.Commit=$(cat COMMIT)"
'';
-
doCheck = true;
+
# We need to disable tests because the tests for respecting .gitignore
+
# include setting up a global gitignore which doesn't work.
+
doCheck = false;
nativeBuildInputs = [ git ];