diff options
author | Parnikkapore <poomklao@yahoo.com> | 2024-04-20 23:58:31 +0200 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2024-04-26 16:45:50 +0100 |
commit | eab1301bc234e2ee786593ebf8f914b1b10a01ac (patch) | |
tree | 384b291a7865fdffd6b366561792bf15076088b2 /gnu | |
parent | 8dae4e1ba7d9d6e5b9a6e0956da2f59031958fb9 (diff) | |
download | guix-eab1301bc234e2ee786593ebf8f914b1b10a01ac.tar.gz guix-eab1301bc234e2ee786593ebf8f914b1b10a01ac.zip |
gnu: lsp-plugins: Use new package style.
* gnu/packages/music (lsp-plugins)[arguments]: Use G-expressions. Use #$output
instead of assoc-ref.
Change-Id: Idca583b06e54c15f98a8439e7fb2a553bf9b112c
Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/music.scm | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 0ee79160ad..7858412515 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -6221,24 +6221,24 @@ and reverb.") (base32 "1bpkbmy8djz304rlsf9zp7bkyc874gnpfihkigqg4fj667x2xfcj")))) (build-system gnu-build-system) (arguments - `(#:make-flags - (list - (string-append "CC=" ,(cc-for-target)) + (list + #:make-flags + #~(list + (string-append "CC=" #$(cc-for-target)) "BUILD_MODULES=\"lv2 ladspa jack\"" "VST_UI=0" - (string-append "PREFIX=" (assoc-ref %outputs "out")) - (string-append "ETC_PATH=" (assoc-ref %outputs "out") "/etc")) - #:phases - (modify-phases %standard-phases - (replace 'configure - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (invoke "make" "config" "TEST=1" - (string-append "PREFIX=" out) - (string-append "ETCDIR=" out "/etc"))))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke ".build/host/lsp-plugin-fw/lsp-plugins-test" "utest")))))) + (string-append "PREFIX=" #$output) + (string-append "ETC_PATH=" #$output "/etc")) + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (invoke "make" "config" "TEST=1" + (string-append "PREFIX=" #$output) + (string-append "ETCDIR=" #$output "/etc")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke ".build/host/lsp-plugin-fw/lsp-plugins-test" "utest"))))))) (inputs (list cairo freetype |