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:
Christopher Baines 2017-09-03 19:39:11 +01:00
parent 5804c7b616
commit 4363767394
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -131,7 +131,7 @@ (define (match-stripped-file action regex)
(target-directory (string-append out %install-suffix "/" elpa-name-ver))
(files-to-install (find-files source install-file?)))
(cond
(files-to-install
((not (null? files-to-install))
(for-each
(lambda (file)
(let* ((stripped-file (string-drop file (string-length source)))