mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-30 12:07:46 +00:00
feat: only cross compile static binaries
- Users downloading the pre-built binaries are not copying the closure for gnu/gcc, so only the static binary would work
This commit is contained in:
parent
11ae201aaf
commit
b0224fe4e3
3 changed files with 10 additions and 11 deletions
14
README.md
14
README.md
|
@ -101,13 +101,17 @@ Please visit:
|
|||
|
||||
### Prebuilt binaries
|
||||
|
||||
You can download a binary for your platform
|
||||
from the
|
||||
[releases section](https://github.com/kamadorueda/alejandra/releases/),
|
||||
make it executable
|
||||
You can download a binary for your platform,
|
||||
make it executable (`$ chmod +x`)
|
||||
and have fun!
|
||||
|
||||
Alternatively there is an automated method.
|
||||
- [aarch64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.3.0/alejandra-aarch64-unknown-linux-musl)
|
||||
- [armv6l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.3.0/alejandra-armv6l-unknown-linux-musleabihf)
|
||||
- [armv7l-unknown-linux-musleabihf](https://github.com/kamadorueda/alejandra/releases/download/0.3.0/alejandra-armv7l-unknown-linux-musleabihf)
|
||||
- [i686-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.3.0/alejandra-i686-unknown-linux-musl)
|
||||
- [x86_64-unknown-linux-musl](https://github.com/kamadorueda/alejandra/releases/download/0.3.0/alejandra-x86_64-unknown-linux-musl)
|
||||
|
||||
Alternatively there is an automated method for some platforms.
|
||||
It needs:
|
||||
[curl](https://curl.se/),
|
||||
[sh](https://www.gnu.org/software/bash/) and
|
||||
|
|
|
@ -133,16 +133,12 @@
|
|||
alejandra
|
||||
pkgsStatic.alejandra
|
||||
|
||||
pkgsCross.aarch64-multiplatform.alejandra
|
||||
pkgsCross.aarch64-multiplatform.pkgsStatic.alejandra
|
||||
|
||||
pkgsCross.armv7l-hf-multiplatform.alejandra
|
||||
pkgsCross.armv7l-hf-multiplatform.pkgsStatic.alejandra
|
||||
|
||||
pkgsCross.gnu32.alejandra
|
||||
pkgsCross.gnu32.pkgsStatic.alejandra
|
||||
|
||||
pkgsCross.raspberryPi.alejandra
|
||||
pkgsCross.raspberryPi.pkgsStatic.alejandra
|
||||
]
|
||||
)
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
linkFarm,
|
||||
runCommand,
|
||||
gnutar,
|
||||
}:
|
||||
rec {
|
||||
}: rec {
|
||||
offline_cache = linkFarm "offline" packages;
|
||||
packages = [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue