gnu: go-github-com-rhysd-actionlint: Only use shellcheck when supported.

* gnu/packages/golang-vcs.scm (go-github-com-rhysd-actionlint)
[native-inputs]: Only include shellcheck on systems where it is
supported.

Change-Id: Ie14c3b0457b280661cd01e5f222fb5646e6f7a03
This commit is contained in:
Efraim Flashner 2025-06-17 19:39:58 +03:00
parent b05f0c10c5
commit 3460c6249a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -322,8 +322,11 @@ Actions} locally.")
"|"))))
(native-inputs
;; Test dependencies.
(list python-pyflakes
shellcheck))
(append
(list python-pyflakes)
(if (supported-package? shellcheck)
(list shellcheck)
'())))
(propagated-inputs
(list go-gopkg-in-yaml-v3
go-golang-org-x-sys