about summary refs log tree commit diff
path: root/loftix/emulation.scm
diff options
context:
space:
mode:
Diffstat (limited to 'loftix/emulation.scm')
-rw-r--r--loftix/emulation.scm22
1 files changed, 9 insertions, 13 deletions
diff --git a/loftix/emulation.scm b/loftix/emulation.scm
index a0d4a9c..e649bc5 100644
--- a/loftix/emulation.scm
+++ b/loftix/emulation.scm
@@ -49,11 +49,7 @@
                       ("aarch64-linux"  "aarch64-linux-user")
                       ("armhf-linux"    "arm-linux-user")
                       ("mips64el-linux" "mips64el-linux-user")
-                      ("powerpc-linux"  "ppc-linux-user")
-                      ;; Prevent errors when querying this package
-                      ;; on unsupported platforms, e.g. when running
-                      ;; "guix search"
-                      (_                "")))))
+                      ("powerpc-linux"  "ppc-linux-user")))))
           ((#:phases phases)
            #~(modify-phases #$phases
                (delete 'replace-firmwares)
@@ -136,14 +132,14 @@
                      ;; The binaries need to be linked against -lrt.
                      (setenv "LDFLAGS" "-lrt")
                      (apply invoke
-                            `("./configure"
-                              ,(string-append "--cc=" (which "gcc"))
-                              ;; Some architectures insist on using HOST_CC
-                              ,(string-append "--host-cc=" (which "gcc"))
-                              "--disable-debug-info" ; save build space
-                              ,(string-append "--prefix=" out)
-                              ,(string-append "--sysconfdir=/etc")
-                              ,@configure-flags)))))
+                       "./configure"
+                       (string-append "--cc=" (which "gcc"))
+                       ;; Some architectures insist on using HOST_CC
+                       (string-append "--host-cc=" (which "gcc"))
+                       "--disable-debug-info" ; save build space
+                       (string-append "--prefix=" out)
+                       (string-append "--sysconfdir=/etc")
+                       configure-flags))))
                (add-after 'install 'install-symbolic-header
                  (lambda* (#:key outputs #:allow-other-keys)
                    (install-file