summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-07-24 02:00:03 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-07-24 02:00:01 +0200
commit555d53d486c58aa79d6ef0fd90e66a2d7d46595c (patch)
treefeae3a5d46b7e1e230f2ce6bcd19f03b9daf022b /gnu/packages
parent237a7f6bbc9390ff88ba983208c9916eb61c34e3 (diff)
downloadguix-555d53d486c58aa79d6ef0fd90e66a2d7d46595c.tar.gz
gnu: libmtp: Use G-expressions.
* gnu/packages/libusb.scm (libmtp)[arguments]:
Rewrite as G-expressions.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/libusb.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm
index 26eb296c21..8a5967f7b4 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -28,6 +28,7 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (gnu packages libusb)
+  #:use-module (guix gexp)
   #:use-module (gnu packages)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
@@ -488,11 +489,9 @@ over USB.")
      ;; libmtp.pc refers to all these.
      (list libusb))
     (arguments
-     `(#:configure-flags
-       (list "--disable-static"
-             (string-append "--with-udev="
-                            (assoc-ref %outputs "out")
-                            "/lib/udev"))))
+     (list #:configure-flags
+           #~(list "--disable-static"
+                   (string-append "--with-udev=" #$output "/lib/udev"))))
     (home-page "http://libmtp.sourceforge.net/")
     (synopsis "Library implementing the Media Transfer Protocol")
     (description "Libmtp implements an MTP (Media Transfer Protocol)