From db40ae162ddd6f8b5e0dd6d1f84c64ae9528a596 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sun, 16 Mar 2025 09:25:04 +0100 Subject: [PATCH] build-support/go: replace `git` with `gitMinimal` --- pkgs/build-support/go/module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/build-support/go/module.nix b/pkgs/build-support/go/module.nix index 7e70597ea8f8..6130eddfd558 100644 --- a/pkgs/build-support/go/module.nix +++ b/pkgs/build-support/go/module.nix @@ -1,4 +1,4 @@ -{ go, cacert, git, lib, stdenv }: +{ go, cacert, gitMinimal, lib, stdenv }: lib.extendMkDerivation { constructDrv = stdenv.mkDerivation; @@ -66,7 +66,7 @@ lib.extendMkDerivation { (stdenv.mkDerivation { name = "${finalAttrs.name or "${finalAttrs.pname}-${finalAttrs.version}"}-go-modules"; - nativeBuildInputs = (finalAttrs.nativeBuildInputs or [ ]) ++ [ go git cacert ]; + nativeBuildInputs = (finalAttrs.nativeBuildInputs or [ ]) ++ [ go gitMinimal cacert ]; inherit (finalAttrs) src modRoot;