me
/
guix
Archived
1
0
Fork 0

gnu: ansible-core: Use GUIX_PYTHONPATH to fix build.

* gnu/packages/admin.scm (ansible-core)[phases]{preserve-pythonpath}: Replace
PYTHONPATH by GUIX_PYTHONPATH.
master
Maxim Cournoyer 2021-10-31 22:59:12 -04:00
parent bd771edd6c
commit 91bb9cb3a9
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 1 additions and 1 deletions

View File

@ -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"