gnu: ansible-core: Use GUIX_PYTHONPATH to fix build.
* gnu/packages/admin.scm (ansible-core)[phases]{preserve-pythonpath}: Replace PYTHONPATH by GUIX_PYTHONPATH.master
parent
bd771edd6c
commit
91bb9cb3a9
|
@ -2569,7 +2569,7 @@ sys.argv[0] = re.sub(r'\\.([^/]*)-real$', r'\\1', sys.argv[0])
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "test/lib/ansible_test/_internal/ansible_util.py"
|
(substitute* "test/lib/ansible_test/_internal/ansible_util.py"
|
||||||
(("PYTHONPATH=get_ansible_python_path\\(args\\)" all)
|
(("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
|
(add-after 'unpack 'patch-paths
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(substitute* "lib/ansible/module_utils/compat/selinux.py"
|
(substitute* "lib/ansible/module_utils/compat/selinux.py"
|
||||||
|
|
Reference in New Issue