mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: libvirt: Honour MAKE-FLAGS everywhere.
* gnu/packages/virtualization.scm (libvirt)[arguments]: Apply MAKE-FLAGS in ‘install’ phase.
This commit is contained in:
parent
488f4e3bde
commit
7aee2f5709
1 changed files with 5 additions and 4 deletions
|
@ -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")))
|
||||||
|
|
Loading…
Reference in a new issue