gnu: ganeti: Fix build failure.
This fixes a regression from 1ed567c872
.
* gnu/packages/virtualization.scm (ganeti)[arguments]: Set PYTHONPATH before
generating bash completions, and adjust invocation to run the script directly.
master
parent
8576d87a5e
commit
641b31de5e
|
@ -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.
|
||||
|
|
Reference in New Issue