From 43637673944226412a27967c235046546d7771ed Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 3 Sep 2017 19:39:11 +0100 Subject: [PATCH] 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. --- guix/build/emacs-build-system.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build/emacs-build-system.scm b/guix/build/emacs-build-system.scm index 202ce5392d..2404dbddb4 100644 --- a/guix/build/emacs-build-system.scm +++ b/guix/build/emacs-build-system.scm @@ -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)))