Skip to content

[ShellCheck] New recipe#13963

Open
nhz2 wants to merge 3 commits into
JuliaPackaging:masterfrom
nhz2:shellcheck
Open

[ShellCheck] New recipe#13963
nhz2 wants to merge 3 commits into
JuliaPackaging:masterfrom
nhz2:shellcheck

Conversation

@nhz2

@nhz2 nhz2 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

This is a recipe for https://github.com/koalaman/shellcheck based on the recipe for pandoc, since they are both Haskell projects.

I think the libiconv.2.dylib and libcharset.1.dylib warnings can be ignored. Ref: #1147

@vchuravy

Copy link
Copy Markdown
Member

Please rebase the PR

Comment thread S/ShellCheck/build_tarballs.jl Outdated
Comment on lines +9 to +16
sources = [
ArchiveSource("$(url_prefix).darwin.aarch64.tar.xz", "56affdd8de5527894dca6dc3d7e0a99a873b0f004d7aabc30ae407d3f48b0a79"; unpack_target = "aarch64-apple-darwin20"),
ArchiveSource("$(url_prefix).darwin.x86_64.tar.xz", "3c89db4edcab7cf1c27bff178882e0f6f27f7afdf54e859fa041fca10febe4c6"; unpack_target = "x86_64-apple-darwin14"),
ArchiveSource("$(url_prefix).linux.aarch64.tar.xz", "12b331c1d2db6b9eb13cfca64306b1b157a86eb69db83023e261eaa7e7c14588"; unpack_target = "aarch64-linux-gnu"),
ArchiveSource("$(url_prefix).linux.riscv64.tar.xz", "693c987777e7b524dd311d9b8c704885a39c889c9804bb1ef1fd29b48567b0b3"; unpack_target = "riscv64-linux-gnu"),
ArchiveSource("$(url_prefix).linux.x86_64.tar.xz", "8c3be12b05d5c177a04c29e3c78ce89ac86f1595681cab149b65b97c4e227198"; unpack_target = "x86_64-linux-gnu"),
ArchiveSource("$(url_prefix).zip", "8a4e35ab0b331c85d73567b12f2a444df187f483e5079ceffa6bda1faa2e740e"; unpack_target = "x86_64-w64-mingw32/shellcheck-v"),
]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you using precompiled binaries here? We prefer to compile things natively in the Ygg system if the source is available and it is possible.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/koalaman/shellcheck#compiling-shellcheck says cabal is needed to compile shellcheck since it is written in Haskell. I couldn't find any examples of other build scripts cross compiling with cabal but maybe this is possible?

Co-authored-by: Ian McInerney <mcianster@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants