guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#70708] [PATCH] gnu: hyperrogue: correct font path


From: Tadhg McDonald-Jensen
Subject: [bug#70708] [PATCH] gnu: hyperrogue: correct font path
Date: Wed, 1 May 2024 20:52:43 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0

* gnu/packages/games.scm (hyperrogue):
  correct font path to use font-dejavu package instead of
  font in hyperrogue source code.

Change-Id: I12a108e3fc2375d9bacd1ab1d2ad4e15144b602f
---
 gnu/packages/games.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 57e6c23f41..0ebe18c4be 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -6473,9 +6473,9 @@ (define-public hyperrogue
           (replace 'configure
             (lambda* (#:key inputs #:allow-other-keys)
(let ((share-dir (string-append #$output "/share/hyperrogue/"))
-                    (fonts-dir (dirname
-                                (search-input-file inputs
- "DejaVuSans-Bold.ttf"))))
+                    (fonts-dir (string-append
+                                 (assoc-ref inputs "font-dejavu")
+                                 "/share/fonts/truetype")))
                 ;; Set fonts and music path.
                 (substitute* "sysconfig.h"
                   (("(#define HYPERPATH ).*" _ lead)

base-commit: 4514239971895fc7ad47c7752e30d98a0c44a154
--
2.41.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]