summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-09-11 22:06:42 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-09-12 16:09:38 +0200
commit60d8db74c66a31af3da180d45ebb045622c469c8 (patch)
treece8dd06f6e9a0ef96235aafe1f639115e7cd7c1a
parent5a5d3e356311620df253d7c213c1bda79cd20128 (diff)
downloadguix-60d8db74c66a31af3da180d45ebb045622c469c8.tar.gz
gnu: syslinux: Use INVOKE.
* gnu/packages/bootloaders.scm (syslinux)[arguments]: Substitute INVOKE
for SYSTEM*.
-rw-r--r--gnu/packages/bootloaders.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index e9abf399ab..74e6890951 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -304,14 +304,14 @@ menu to select one of the installed operating systems.")
            (delete 'configure)
            (add-before 'build 'set-permissions
              (lambda _
-               (zero? (system* "chmod" "a+w" "utils/isohybrid.in"))))
+               (invoke "chmod" "a+w" "utils/isohybrid.in")))
            (replace 'check
              (lambda _
                (setenv "CC" "gcc")
                (substitute* "tests/unittest/include/unittest/unittest.h"
                  ;; Don't look up headers under /usr.
                  (("/usr/include/") ""))
-               (zero? (system* "make" "unittest")))))))
+               (invoke "make" "unittest"))))))
       (home-page "http://www.syslinux.org")
       (synopsis "Lightweight Linux bootloader")
       (description "Syslinux is a lightweight Linux bootloader.")