gnu: libvirt: Honour MAKE-FLAGS everywhere.

* gnu/packages/virtualization.scm (libvirt)[arguments]: Apply MAKE-FLAGS
in ‘install’ phase.
This commit is contained in:
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

View file

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