guix-commits
[Top][All Lists]
Advanced

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

197/227: gnu: ansible-core: Use GUIX_PYTHONPATH to fix build.


From: guix-commits
Subject: 197/227: gnu: ansible-core: Use GUIX_PYTHONPATH to fix build.
Date: Thu, 11 Nov 2021 12:30:46 -0500 (EST)

apteryx pushed a commit to branch core-updates-frozen
in repository guix.

commit 91bb9cb3a9e0cdc119dd383045399a90782806dc
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Oct 31 22:59:12 2021 -0400

    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 7a12699..9d793b2 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2569,7 +2569,7 @@ sys.argv[0] = re.sub(r'\\.([^/]*)-real$', r'\\1', 
sys.argv[0])
            (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"



reply via email to

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