From eb720afbc1d4ebcdec688c799ef71cc44e33d2dc Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 16 Sep 2024 08:29:27 +0300 Subject: gnu: amsynth: Only build documentation on some platforms. * gnu/packages/music.scm (amsynth)[native-inputs]: Only include pandoc on supported systems. Change-Id: I7ec78f3ed38feb2ac76292d5b97f622af489b30b --- gnu/packages/music.scm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 9ddca37406..075b1bd35d 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -2700,10 +2700,12 @@ special variant of additive synthesis.") ;; 'org.gnome.desktop.interface' is not installed (list gsettings-desktop-schemas)) (native-inputs - (list intltool - pkg-config - ;; For generating the documentation. - pandoc)) + (append (list intltool + pkg-config) + ;; For generating the documentation. + (if (supported-package? pandoc) + (list pandoc) + '()))) (home-page "https://amsynth.github.io") (synopsis "Analog modeling synthesizer") (description -- cgit v1.2.3