gnu: libvirt: Honour MAKE-FLAGS everywhere.

* gnu/packages/virtualization.scm (libvirt)[arguments]: Apply MAKE-FLAGS
in ‘install’ phase.
master
Tobias Geerinckx-Rice 2019-06-24 23:17:46 +02:00
parent 488f4e3bde
commit 7aee2f5709
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 5 additions and 4 deletions

View File

@ -435,10 +435,11 @@ manage system or application containers.")
;; Since the sysconfdir and localstatedir should be /etc and /var
;; at runtime, we must prevent writing to them at installation
;; time.
(lambda _
(invoke "make" "install"
"sysconfdir=/tmp/etc"
"localstatedir=/tmp/var")))
(lambda* (#:key make-flags #:allow-other-keys)
(apply invoke "make" "install"
"sysconfdir=/tmp/etc"
"localstatedir=/tmp/var"
make-flags)))
(add-after 'install 'wrap-libvirtd
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))