Commit db40ae16 authored by Pol Dellaiera's avatar Pol Dellaiera
Browse files

build-support/go: replace `git` with `gitMinimal`

parent 8646ca52
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
{ 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;