diff options
author | Felix Gruber <felgru@posteo.net> | 2022-08-04 19:23:49 +0000 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2022-08-06 06:45:13 +0200 |
commit | 18007d3a7bfcafa28205b636e7b631818c664c63 (patch) | |
tree | 053e2c2f4b8f799d03d0962d66fa89d79aae7c21 /gnu/packages | |
parent | 8b6c4eddedc1b4e4a4a2519cf3ed213f3fa8cb0d (diff) | |
download | guix-18007d3a7bfcafa28205b636e7b631818c664c63.tar.gz |
gnu: queen-de: Fix build.
The sources for queen-de lack a readme, so check whether one exists prior to trying to install it. See <https://bugs.gnu.org/56886>. * gnu/packages/games.scm (make-queen-package)[#:builder]: Only install readme.txt if it exists. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/games.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index d90e85de9e..5e8b7a6d0d 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -9807,7 +9807,9 @@ Skorl. Maybe it would be an idea to try and escape...") (let ((unzip (search-input-file %build-inputs "/bin/unzip"))) (invoke unzip "-j" (assoc-ref %build-inputs "source"))) (let ((doc (string-append share "/doc/" ,name "-" ,version))) - (install-file "readme.txt" doc)) + (for-each (lambda (file) + (when (file-exists? file) (install-file file doc))) + '("readme.txt" "README" "README.md"))) (install-file "queen.1c" data) (mkdir-p bin) (let ((bash (assoc-ref %build-inputs "bash"))) |