Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: only cross compile static binaries #158

Merged
merged 1 commit into from Feb 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 9 additions & 5 deletions README.md
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions flake.nix
Expand Up @@ -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
]
)
Expand Down
3 changes: 1 addition & 2 deletions integrations/vscode/yarn.lock.nix
Expand Up @@ -4,8 +4,7 @@
linkFarm,
runCommand,
gnutar,
}:
rec {
}: rec {
offline_cache = linkFarm "offline" packages;
packages = [
{
Expand Down