1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-19 07:35:54 +02:00

gnu: python-pre-commit: Move deprecated variable next to replacement.

This fixes a module import dependency cycle, which was introduced in
831baaf81e ("gnu: python-pre-commit: Replace
with pre-commit.").  The rule of thumb to avoid these is that the deprecated
package should live next to the replacement package (in the same module).

* gnu/packages/python-xyz.scm (python-pre-commit): Move to...
* gnu/packages/version-control.scm (python-pre-commit): ... here.
This commit is contained in:
Maxim Cournoyer
2023-03-22 21:31:02 -04:00
parent cb2e7efa6c
commit 5174820753
2 changed files with 3 additions and 3 deletions
+3
View File
@@ -1759,6 +1759,9 @@ specify a list of hooks you want and pre-commit manages the installation and
execution of any hook written in any language before every commit.")
(license license:expat)))
(define-public python-pre-commit
(deprecated-package "python-pre-commit" pre-commit))
(define-public mercurial
(package
(name "mercurial")