gnu: sdrangel: Fix build.

* gnu/packages/radio.scm (sdrangel)[arguments]: Replace references to
  '%build-inputs' by gexp.
This commit is contained in:
Guillaume Le Vaillant 2021-09-11 10:26:03 +02:00
parent 463a47f4d7
commit eded8b4f17
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -26,6 +26,7 @@
(define-module (gnu packages radio)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix gexp)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
@ -2083,20 +2084,20 @@ (define-public sdrangel
(arguments
`(#:tests? #f ; No test suite.
#:configure-flags
(list (string-append "-DAPT_DIR="
(assoc-ref %build-inputs "aptdec"))
(string-append "-DDAB_DIR="
(assoc-ref %build-inputs "libdab"))
(string-append "-DDSDCC_DIR="
(assoc-ref %build-inputs "dsdcc"))
(string-append "-DMBE_DIR="
(assoc-ref %build-inputs "mbelib"))
(string-append "-DSERIALDV_DIR="
(assoc-ref %build-inputs "serialdv"))
(string-append "-DSGP4_DIR="
(assoc-ref %build-inputs "sgp4"))
(string-append "-DSOAPYSDR_DIR="
(assoc-ref %build-inputs "soapysdr")))))
,#~(list (string-append "-DAPT_DIR="
#$(this-package-input "aptdec"))
(string-append "-DDAB_DIR="
#$(this-package-input "libdab"))
(string-append "-DDSDCC_DIR="
#$(this-package-input "dsdcc"))
(string-append "-DMBE_DIR="
#$(this-package-input "mbelib"))
(string-append "-DSERIALDV_DIR="
#$(this-package-input "serialdv"))
(string-append "-DSGP4_DIR="
#$(this-package-input "sgp4"))
(string-append "-DSOAPYSDR_DIR="
#$(this-package-input "soapysdr")))))
(home-page "https://github.com/f4exb/sdrangel/wiki")
(synopsis "Software defined radio")
(description