[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: ansible-core: Use GUIX_PYTHONPATH to fix build.
From: |
guix-commits |
Subject: |
01/03: gnu: ansible-core: Use GUIX_PYTHONPATH to fix build. |
Date: |
Sun, 31 Oct 2021 23:09:35 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit bee7fde12013d2c7db9061d6d7ad315331e7c620
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 333a327..f7e4cdd 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2570,7 +2570,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"