summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-10-13 22:19:38 +0200
committerMarius Bakke <marius@gnu.org>2021-10-13 22:19:38 +0200
commit641b31de5e9716ff8bd088f4834c98d4a664b55a (patch)
tree2044db963f3f47fc67768cc9b3ec576363744fce /gnu/packages
parent8576d87a5e331b64203208c4ff074e43f95e6b05 (diff)
gnu: ganeti: Fix build failure.
This fixes a regression from 1ed567c8721ec2810fdb70f1c6fc8396a705d503. * gnu/packages/virtualization.scm (ganeti)[arguments]: Set PYTHONPATH before generating bash completions, and adjust invocation to run the script directly.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/virtualization.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index eeb06b759b..5ab95e51cd 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -680,7 +680,9 @@ firmware blobs. You can
""))))
(add-after 'build 'build-bash-completions
(lambda _
- (invoke "python" "-m" "./autotools/build-bash-completion")))
+ (setenv "PYTHONPATH" ".")
+ (invoke "./autotools/build-bash-completion")
+ (unsetenv "PYTHONPATH")))
(add-before 'check 'pre-check
(lambda* (#:key inputs #:allow-other-keys)
;; Set TZDIR so that time zones are found.