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
1 changed files with 2 additions and 2 deletions

View File

@ -157,10 +157,10 @@ module into a binary representation.")
#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)