On Wed, Nov 28, 2018 at 11:23:55AM +0100, Pierre Neidhardt wrote: > I've successfully built clang-3.9.1 with two (file-exists? ...). > Efraim, let me know if I should push. > If yours works then go ahead and push it. I forgot to check bash-autocomplete.sh and so my build of clang@3.8 failed. Make sure yours covers that too. diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm index 0b12f736a..6197c2795 100644 --- a/gnu/packages/llvm.scm +++ b/gnu/packages/llvm.scm @@ -243,13 +243,16 @@ compiler. In LLVM this library is called \"compiler-rt\".") out "/etc/bash_completion.d"))) (with-directory-excursion (string-append out "/share/clang") - ;; Delete extensions for proprietary text editors. - (delete-file "clang-format-bbedit.applescript") - (delete-file "clang-format-sublime.py") - ;; Delete Emacs extensions: see their respective Emacs - ;; Guix package instead. - (delete-file "clang-rename.el") - (delete-file "clang-format.el") + (for-each + (lambda (file) + (when (file-exists? file) + (delete-file file))) + ;; Delete extensions for proprietary text editors. + '("clang-format-bbedit.applescript" + "clang-format-sublime.py" + ;; Delete Emacs extensions: see their respective Emacs + ;; Guix package instead. + "clang-rename.el" "clang-format.el")) ;; Install bash completion. (mkdir-p compl-dir) (rename-file "bash-autocomplete.sh" -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted