Two alternatives that you could try:
-
Change
hm.dag.entryAfter [ "writeBoundary" ]
tohm.dag.entryAfter [ "installPackages" ]
and simply run$DRY_RUN_CMD git …
since Git should be available in the user’sPATH
. -
Use
PATH="${config.home.path}/bin:$PATH" $DRY_RUN_CMD git …
. Thehome.path
option is considered internal but should be reasonably stable for use.