From 05bbe9993f687da1fd684a31474c621f2a1c37b2 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 24 Feb 2024 20:18:00 +0000 Subject: [PATCH] gnu: lcsync: Simplify package. * gnu/packages/networking.scm (lcsync) [arguments]: Use G-expressions. Remove redundant 'target' variable which has no use. Change-Id: I19ecadb5259ed0cfa37e12d109141dfc8be98587 --- gnu/packages/networking.scm | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 468a35e305..3a743730a6 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -351,13 +351,11 @@ (define-public lcsync (base32 "1rhk80ybd2zranay76z1ysifnnm786lg9kiiijcwv76qy95in9ks")))) (build-system gnu-build-system) (arguments - `(#:parallel-tests? #f - #:configure-flags (list (string-append "--prefix=" - (assoc-ref %outputs "out"))) - #:make-flags (let ((target ,(%current-target-system))) - (list ,(string-append "CC=" - (cc-for-target)))) - #:test-target "test")) + (list + #:parallel-tests? #f + #:configure-flags #~(list (string-append "--prefix=" #$output)) + #:make-flags #~(list (string-append "CC=" #$(cc-for-target))) + #:test-target "test")) (inputs (list lcrq librecast libsodium libbsd)) (home-page "https://librecast.net/lcsync.html") (synopsis "Librecast file and data syncing tool")