guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#55693] [PATCH 2/2] gnu: Add gitlint.


From: Brian Kubisiak
Subject: [bug#55693] [PATCH 2/2] gnu: Add gitlint.
Date: Sun, 29 May 2022 14:37:02 -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.

Thanks,
Brian






reply via email to

[Prev in Thread] Current Thread [Next in Thread]