summary refs log tree commit diff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-02-24 20:00:59 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-02-24 20:14:06 +0000
commit39195914ec83a449c2c967f3e297f7601d5e8be2 (patch)
treead54a014d97147339964ed83617a16a29b59522e
parent04c558dd1b76099fc4e749b77ca38f169320b2e8 (diff)
downloadguix-39195914ec83a449c2c967f3e297f7601d5e8be2.tar.gz
gnu: librecast: Simplify package.
* gnu/packages/networking.scm (librecast) [arguments]: Use G-expressions.
Remove redundant 'target' variable which has no use.

Change-Id: Ib87e04b7fb9d284436659fd0503da4892807a977
-rw-r--r--gnu/packages/networking.scm13
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 640f3483dc..f34cb1c2c2 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -532,13 +532,12 @@ GLib-based library, libnice, as well as GStreamer elements to use it.")
         (base32 "01m0q4n2hy3csbzil8ivjyzb1mh4w9jlh9iiv6z53kasl7aas27i"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:parallel-tests? #f
-       #:make-flags (let ((target ,(%current-target-system)))
-                      (list ,(string-append "CC="
-                                            (cc-for-target))
-                            (string-append "PREFIX="
-                                           (assoc-ref %outputs "out"))))
-       #:test-target "test"))
+     (list
+      #:parallel-tests? #f
+      #:make-flags
+      #~(list (string-append "CC=" #$(cc-for-target))
+              (string-append "PREFIX=" #$output))
+      #:test-target "test"))
     (inputs (list libsodium lcrq libbsd))
     (synopsis "IPv6 multicast library")
     (description "Librecast is a C library which supports IPv6 multicast