mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 04:27:45 +00:00
feat: add another supported system
This commit is contained in:
parent
4dba35c59c
commit
f42839ae99
1 changed files with 4 additions and 3 deletions
|
@ -95,7 +95,7 @@
|
||||||
We integrate with common code editors:
|
We integrate with common code editors:
|
||||||
|
|
||||||
- [Alejandra extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=kamadorueda.alejandra)
|
- [Alejandra extension for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=kamadorueda.alejandra)
|
||||||
- [doom-emacs configuration](https://github.com/hlissner/doom-emacs): `(set-formatter! 'alejandra "alejandra --quiet" :modes '(nix-mode))`
|
- [doom-emacs configuration](https://github.com/hlissner/doom-emacs): `(set-formatter! 'alejandra "alejandra --quiet" :modes '(nix-mode))`
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
|
@ -146,6 +146,7 @@ Please visit: [search.nixos.org/packages?query=alejandra](https://search.nixos.o
|
||||||
```bash
|
```bash
|
||||||
$ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.1.0
|
$ nix-env -ivA aarch64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.1.0
|
||||||
$ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.1.0
|
$ nix-env -ivA aarch64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.1.0
|
||||||
|
$ nix-env -ivA i686-linux -f https://github.com/kamadorueda/alejandra/tarball/1.1.0
|
||||||
$ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.1.0
|
$ nix-env -ivA x86_64-darwin -f https://github.com/kamadorueda/alejandra/tarball/1.1.0
|
||||||
$ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.1.0
|
$ nix-env -ivA x86_64-linux -f https://github.com/kamadorueda/alejandra/tarball/1.1.0
|
||||||
```
|
```
|
||||||
|
@ -172,7 +173,7 @@ $ alejandra --help
|
||||||
outputs = {alejandra, nixpkgs, ...}: {
|
outputs = {alejandra, nixpkgs, ...}: {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
example = nixpkgs.lib.nixosSystem rec {
|
example = nixpkgs.lib.nixosSystem rec {
|
||||||
# We support: aarch64-darwin, aarch64-linux, x86_64-darwin, x86_64-linux
|
# We support: aarch64-darwin, aarch64-linux, i686-linux, x86_64-darwin, x86_64-linux
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -198,7 +199,7 @@ $ alejandra --help
|
||||||
url = "https://github.com/kamadorueda/alejandra/tarball/1.1.0";
|
url = "https://github.com/kamadorueda/alejandra/tarball/1.1.0";
|
||||||
sha256 = "0000000000000000000000000000000000000000000000000000";
|
sha256 = "0000000000000000000000000000000000000000000000000000";
|
||||||
}))
|
}))
|
||||||
# Pick one from: aarch64-darwin, aarch64-linux, x86_64-darwin, x86_64-linux
|
# Pick one from: aarch64-darwin, aarch64-linux, i686-linux, x86_64-darwin, x86_64-linux
|
||||||
.x86_64-linux
|
.x86_64-linux
|
||||||
.outPath;
|
.outPath;
|
||||||
in {
|
in {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue