Brian Kubisiak schreef op zo 29-05-2022 om 14:37 [-0700]: > > > +    (propagated-inputs (list git)) > > > > Propagtion is not required, a regular input + substitute* 'git' by > > (search-input-file inputs "bin/git") in gitlint- > > core/gitlint/shell.py > > should be sufficient. > > shell.py only uses the 'subprocess' code path on windows (or if the > GITLINT_USE_SH_LIB environment variable is set, for testing). On > linux, git is called through 'from sh import git' (through the > python-sh library), which will look for git on $PATH and requires > this to be a propagated input. Then we can patch python-sh or disable GITLINT_USE_SH_LIB instead, to avoid propagation. Greetings, Maxime.