[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48232] [PATCH 2/2] gnu: mercurial: Add PYTHONPATH to
From: |
Xinglu Chen |
Subject: |
[bug#48232] [PATCH 2/2] gnu: mercurial: Add PYTHONPATH to |
Date: |
Tue, 04 May 2021 23:00:10 +0200 |
This will make Mercurial be able to find third-party extensions.
* gnu/packages/version-control.scm (mercurial)[native-search-paths]: Add
PYTHONPATH.
---
gnu/packages/version-control.scm | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 3a1cb33fc3..9711516609 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1709,6 +1709,11 @@ execution of any hook written in any language before
every commit.")
`(("python-nose" ,python-nose)
("unzip" ,unzip)
("which" ,which)))
+ ;; Find third-party extensions.
+ (native-search-paths
+ (list (search-path-specification
+ (variable "PYTHONPATH")
+ (files '("lib/python3.8/site-packages/hgext3rd")))))
(home-page "https://www.mercurial-scm.org/")
(synopsis "Decentralized version control system")
(description
--
2.31.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#48232] [PATCH 2/2] gnu: mercurial: Add PYTHONPATH to,
Xinglu Chen <=