mirror of
https://github.com/RGBCube/alejandra
synced 2025-07-31 20:47:46 +00:00
feat: add wasm site
This commit is contained in:
parent
bfda2490bc
commit
7b7e5c8c67
14 changed files with 9518 additions and 1 deletions
34
front/flake.nix
Normal file
34
front/flake.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
inputs = {
|
||||
fenix.url = "github:nix-community/fenix";
|
||||
fenix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
nixpkgs.url = "github:nixos/nixpkgs";
|
||||
};
|
||||
|
||||
outputs = inputs: let
|
||||
system = "x86_64-linux";
|
||||
|
||||
fenix = inputs.fenix.packages.${system};
|
||||
nixpkgs = import inputs.nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
devShell.${system} = nixpkgs.mkShell {
|
||||
name = "alejandra";
|
||||
packages = [
|
||||
(
|
||||
fenix.combine [
|
||||
fenix.latest.rustc
|
||||
fenix.latest.toolchain
|
||||
fenix.targets."wasm32-unknown-unknown".latest.rust-std
|
||||
]
|
||||
)
|
||||
nixpkgs.binaryen
|
||||
nixpkgs.pkg-config
|
||||
nixpkgs.openssl
|
||||
nixpkgs.yarn
|
||||
nixpkgs.wasm-pack
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue