summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2017-07-26 15:48:12 +0300
committerLudovic Courtès <ludo@gnu.org>2017-07-29 23:03:47 +0200
commit53ac6977ac0bbd766d014d3b0aefea3958bbf54f (patch)
tree1dc24ad98ab59c07ab3b994a96f39a4aef3a4a06 /gnu/packages
parentbaa6b777891062494e336017777865e10063d6a8 (diff)
downloadguix-53ac6977ac0bbd766d014d3b0aefea3958bbf54f.tar.gz
gnu: tome4: Clean up snippet.
* gnu/packages/games.scm (tome4)[source](snippet): Use a single
'substitute*' call instead of 'for-each'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/games.scm10
1 files changed, 4 insertions, 6 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 071311a751..d859a6398c 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -4633,12 +4633,10 @@ Crowther & Woods, its original authors, in 1995.  It has been known as
          "0v2qgdfpvdzd1bcbp9v8pfahj1bgczsq2d4xfhh5wg11jgjcwz03"))
        (modules '((guix build utils)))
        (snippet
-        '(for-each (lambda (file)
-                     (substitute* file
-                       (("#elif defined(__FreeBSD__)" line)
-                        (string-append
-                         line " || defined(__GNUC__)"))))
-                   '("src/music.h" "src/tSDL.h")))))
+        '(substitute* '("src/music.h" "src/tSDL.h")
+           (("#elif defined(__FreeBSD__)" line)
+            (string-append
+             line " || defined(__GNUC__)"))))))
     (build-system gnu-build-system)
     (native-inputs
      `(("unzip" ,unzip)))