diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-10-31 22:59:12 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-11-11 12:18:31 -0500 |
commit | 91bb9cb3a9e0cdc119dd383045399a90782806dc (patch) | |
tree | a016380eba3fcd7eee4f3c09cb7a8fc90aaf694b | |
parent | bd771edd6cea746397e5f6b8f075528cf5c7cada (diff) |
gnu: ansible-core: Use GUIX_PYTHONPATH to fix build.
* gnu/packages/admin.scm (ansible-core)[phases]{preserve-pythonpath}: Replace
PYTHONPATH by GUIX_PYTHONPATH.
-rw-r--r-- | gnu/packages/admin.scm | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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" |