gnu: libselinux: Use invoke.

* gnu/packages/selinux.scm (libselinux)[arguments]: Use invoke in the 'pywrap'
and 'install-pywrap' phases.
This commit is contained in:
Mark H Weaver 2018-03-25 04:52:02 -04:00
parent d5c88f16c4
commit 927c52c4ab
No known key found for this signature in database
GPG key ID: 7CEF29847562C516

View file

@ -157,10 +157,10 @@ (define-public libselinux
#t))
(add-after 'build 'pywrap
(lambda* (#:key make-flags #:allow-other-keys)
(zero? (apply system* "make" "pywrap" make-flags))))
(apply invoke "make" "pywrap" make-flags)))
(add-after 'install 'install-pywrap
(lambda* (#:key make-flags #:allow-other-keys)
(zero? (apply system* "make" "install-pywrap" make-flags))))))))
(apply invoke "make" "install-pywrap" make-flags)))))))
;; These libraries are in "Requires.private" in libselinux.pc.
(propagated-inputs
`(("libsepol" ,libsepol)