From e91a5258584026935daacd4543d5b3aa76e6c8f6 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 28 Mar 2022 13:46:47 -0400 Subject: gnu: ansible: Use GUIX_PYTHONPATH in the search path specification. * gnu/packages/admin.scm (ansible)[native-search-paths]: Use GUIX_PYTHONPATH. --- gnu/packages/admin.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 8331c42f8b..2c47fb318d 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2706,15 +2706,15 @@ provides the following commands: (build-system python-build-system) (propagated-inputs (list ansible-core)) - ;; The Ansible collections are found by ansible-core via PYTHONPATH; the - ;; following search path ensures that they are found even when Python is - ;; not present in the profile. + ;; The Ansible collections are found by ansible-core via the Python search + ;; path; the following search path ensures that they are found even when + ;; Python is not present in the profile. (native-search-paths ;; XXX: Attempting to use (package-native-search-paths python) ;; here would cause an error about python being an unbound ;; variable in the tests/cpan.scm test. (list (search-path-specification - (variable "PYTHONPATH") + (variable "GUIX_PYTHONPATH") (files (list "lib/python3.9/site-packages"))))) (home-page "https://www.ansible.com/") (synopsis "Radically simple IT automation") -- cgit 1.4.1