aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2025-04-14 17:22:25 +0200
committerLudovic Courtès <ludo@gnu.org>2025-04-14 17:27:10 +0200
commitd867facecb710bc7ddec168a3aa085eec5e78369 (patch)
tree394fadc4180fea0c96550dafdc17634e9b3846d9
parentb17268b53e9fb1b1ac2ad29fe7633b52744fee2f (diff)
downloadguix-d867facecb710bc7ddec168a3aa085eec5e78369.tar.gz
guix-d867facecb710bc7ddec168a3aa085eec5e78369.zip
gnu: microscheme: Remove dependency on clang and cppcheck.
* gnu/packages/avr-xyz.scm (microscheme)[arguments]: Pass “build” as #:make-flags. [native-inputs]: Remove dependency on clang and cppcheck. Change-Id: Ib3d60984e6c660f4ad599433260d0bf8743b5b38
-rw-r--r--gnu/packages/avr-xyz.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/avr-xyz.scm b/gnu/packages/avr-xyz.scm
index 86ac941770..1cf99d6a3b 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