From 91bb9cb3a9e0cdc119dd383045399a90782806dc Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 31 Oct 2021 22:59:12 -0400 Subject: [PATCH] gnu: ansible-core: Use GUIX_PYTHONPATH to fix build. * gnu/packages/admin.scm (ansible-core)[phases]{preserve-pythonpath}: Replace PYTHONPATH by GUIX_PYTHONPATH. --- gnu/packages/admin.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 7a126996a1..9d793b230b 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -2569,7 +2569,7 @@ (define bin (string-append (assoc-ref outputs "out") "/bin")) (lambda _ (substitute* "test/lib/ansible_test/_internal/ansible_util.py" (("PYTHONPATH=get_ansible_python_path\\(args\\)" all) - (string-append all "+ ':' + os.environ['PYTHONPATH']"))))) + (string-append all "+ ':' + os.environ['GUIX_PYTHONPATH']"))))) (add-after 'unpack 'patch-paths (lambda* (#:key inputs outputs #:allow-other-keys) (substitute* "lib/ansible/module_utils/compat/selinux.py"