summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-07-17 02:00:01 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-07-17 02:00:16 +0200
commita432ae0c0b3e3237c82a84f03ef022ddadafedcd (patch)
treea591500f5b2db32ee2cb5d18baae5bb4d321b876
parenta7c3eb8fdf0133bef17d67345aab1fe0731e8076 (diff)
downloadguix-a432ae0c0b3e3237c82a84f03ef022ddadafedcd.tar.gz
gnu: feh: Use G-expressions.
* gnu/packages/image-viewers.scm (feh)[arguments]:
Rewrite as G-expressions.
-rw-r--r--gnu/packages/image-viewers.scm18
1 files changed, 10 insertions, 8 deletions
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm
index 53c895ec21..8d4d2351c3 100644
--- a/gnu/packages/image-viewers.scm
+++ b/gnu/packages/image-viewers.scm
@@ -173,14 +173,16 @@ YouTube videos without requiring API and opens/downloads them using mpv/ytdl.")
                 "185wwqd60r2rk6lzcvd6sl58589qfqrfnf7lqd6friyj84n9cjc6"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases (modify-phases %standard-phases (delete 'configure))
-       #:test-target "test"
-       #:make-flags
-       (list ,(string-append "CC=" (cc-for-target))
-             (string-append "PREFIX=" (assoc-ref %outputs "out"))
-             "exif=1"
-             "inotify=1"
-             "magic=1")))
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure))     ; no configure script
+           #:test-target "test"
+           #:make-flags
+           #~(list (string-append "CC=" #$(cc-for-target))
+                   (string-append "PREFIX=" #$output)
+                   "exif=1"
+                   "inotify=1"
+                   "magic=1")))
     (native-inputs
      (list perl perl-test-command))
     (inputs (list curl