gnu: iwd: Remove reference to %outputs.

* gnu/packages/networking.scm (iwd)[arguments]: Remove reference to %outputs
by using a gexp.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Simon South 2022-02-07 09:26:27 -05:00 committed by Ludovic Courtès
parent 6413eb61af
commit 0d0f2b9c35
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -3580,16 +3580,15 @@ (define-public iwd
(list pkg-config python python-docutils openssl)) (list pkg-config python python-docutils openssl))
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(let ((dbus (assoc-ref %outputs "out"))) ,#~(list "--disable-systemd-service"
(list "--disable-systemd-service" "--enable-external-ell"
"--enable-external-ell" "--enable-hwsim"
"--enable-hwsim" "--enable-tools"
"--enable-tools" "--enable-wired"
"--enable-wired" "--localstatedir=/var"
"--localstatedir=/var" (string-append "--with-dbus-datadir=" #$output "/share/")
(string-append "--with-dbus-datadir=" dbus "/share/") (string-append "--with-dbus-busdir="
(string-append "--with-dbus-busdir=" #$output "/share/dbus-1/system-services"))
dbus "/share/dbus-1/system-services")))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'configure 'patch-Makefile (add-after 'configure 'patch-Makefile