mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-30 12:07:46 +00:00
feat: simplify nix stable installation
This commit is contained in:
parent
1fad955df3
commit
bd7ca846d5
2 changed files with 36 additions and 30 deletions
16
default.nix
16
default.nix
|
@ -8,4 +8,18 @@ let
|
|||
};
|
||||
flake = import flakeCompatSrc {src = ./.;};
|
||||
in
|
||||
flake.defaultNix.defaultPackage
|
||||
{system ? builtins.currentSystem, ...}:
|
||||
if builtins.hasAttr system flake.defaultNix.defaultPackage
|
||||
then flake.defaultNix.defaultPackage.${system}
|
||||
else
|
||||
builtins.throw ''
|
||||
|
||||
Alejandra does not support the system: ${system}
|
||||
|
||||
Please consider creating an issue requesting
|
||||
support for such system:
|
||||
https://github.com/kamadorueda/alejandra
|
||||
|
||||
Thank you!
|
||||
|
||||
''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue