radicle-node: depend on gitMinimal instead of git

This commit is contained in:
Defelo
2025-08-22 07:54:33 +02:00
parent cda70f9efa
commit d6b07e06cc
+4 -4
View File
@@ -1,7 +1,7 @@
{
asciidoctor,
fetchFromRadicle,
git,
gitMinimal,
installShellFiles,
jq,
lib,
@@ -44,7 +44,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
installShellFiles
makeWrapper
];
nativeCheckInputs = [ git ];
nativeCheckInputs = [ gitMinimal ];
preBuild = ''
export GIT_HEAD=$(<$src/.git_head)
@@ -90,7 +90,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
wrapProgram "$program" \
--prefix PATH : "${
lib.makeBinPath [
git
gitMinimal
man-db
openssh
xdg-utils
@@ -125,7 +125,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
rad debug | jq -e '
(.sshVersion | contains("${openssh.version}"))
and
(.gitVersion | contains("${git.version}"))
(.gitVersion | contains("${gitMinimal.version}"))
'
touch $out