(address . guix-patches@gnu.org)
* 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(-)
Toggle diff (21 lines)
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