summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2021-12-25 21:49:34 +0100
committerMarius Bakke <marius@gnu.org>2021-12-26 00:58:27 +0100
commit9d9c7d2202980a70e2156460f30c85b4efc0f99a (patch)
tree69b4c69aa5bbc545c8e0cf72a3c1ae12aa487edb /gnu/packages
parentb891f8519dbea5457d9ad154974b1ab1459b4b8b (diff)
downloadguix-9d9c7d2202980a70e2156460f30c85b4efc0f99a.tar.gz
gnu: qemu-minimal: Simplify input filter.
* gnu/packages/virtualization.scm (qemu-minimal)[native-inputs]: Remove
useless conditional, and fix indentation.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/virtualization.scm7
1 files changed, 3 insertions, 4 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 14f415cf1d..20ffb4a481 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -426,11 +426,10 @@ server and embedded PowerPC, and S390 guests.")
                                ;; delete specific outputs; i.e. here we should keep
                                ;; `(,glib "bin"), but not `(,glib "static").
                                ((label package output)
-                                (if (string=? "static" output)
-                                    #f #t))
+                                (not (string=? "static" output)))
                                (_ input)))
-                        (modify-inputs (package-native-inputs qemu)
-                          (delete "gettext-minimal"))))
+                           (modify-inputs (package-native-inputs qemu)
+                             (delete "gettext-minimal"))))
     (inputs (modify-inputs (package-inputs qemu)
               (delete "libusb"
                       "mesa"