From d867facecb710bc7ddec168a3aa085eec5e78369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 14 Apr 2025 17:22:25 +0200 Subject: [PATCH] gnu: microscheme: Remove dependency on clang and cppcheck. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/avr-xyz.scm (microscheme)[arguments]: Pass “build” as #:make-flags. [native-inputs]: Remove dependency on clang and cppcheck. Change-Id: Ib3d60984e6c660f4ad599433260d0bf8743b5b38 --- gnu/packages/avr-xyz.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnu/packages/avr-xyz.scm b/gnu/packages/avr-xyz.scm index 86ac941770e..1cf99d6a3ba 100644 --- a/gnu/packages/avr-xyz.scm +++ b/gnu/packages/avr-xyz.scm @@ -205,10 +205,14 @@ documentation.") #:phases (modify-phases %standard-phases (delete 'configure)) + + ;; The 'check' target runs 'cppcheck' and 'clang-format', but it fails + ;; unless given an old version of the former, such as 2.10.3. Since + ;; the 'all' target depends on 'check', explicitly ask for 'build'. #:make-flags - (list (string-append "PREFIX=" (assoc-ref %outputs "out"))))) - (native-inputs - (list clang cppcheck unzip xxd)) + (list "build" + (string-append "PREFIX=" (assoc-ref %outputs "out"))))) + (native-inputs (list unzip xxd)) (home-page "https://github.com/ryansuchocki/microscheme/") (synopsis "Scheme subset for Atmel microcontrollers") (description