build: Fix helpful output for emacs-build-system install phase.
Detecting when no files were installed was broken when switching to use cond. Test with (not (null? ...)) to fix this. * guix/build/emacs-build-system.scm (install): Fix detecting when no files were installed.
This commit is contained in:
parent
5804c7b616
commit
4363767394
|
@ -131,7 +131,7 @@ store in '.el' files."
|
||||||
(target-directory (string-append out %install-suffix "/" elpa-name-ver))
|
(target-directory (string-append out %install-suffix "/" elpa-name-ver))
|
||||||
(files-to-install (find-files source install-file?)))
|
(files-to-install (find-files source install-file?)))
|
||||||
(cond
|
(cond
|
||||||
(files-to-install
|
((not (null? files-to-install))
|
||||||
(for-each
|
(for-each
|
||||||
(lambda (file)
|
(lambda (file)
|
||||||
(let* ((stripped-file (string-drop file (string-length source)))
|
(let* ((stripped-file (string-drop file (string-length source)))
|
||||||
|
|
Loading…
Reference in New Issue