1
Fork 0
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:
Kevin Amado 2022-02-13 11:33:17 -05:00
parent bfda2490bc
commit 7b7e5c8c67
No known key found for this signature in database
GPG key ID: FFF341057F503148
14 changed files with 9518 additions and 1 deletions

34
front/flake.nix Normal file
View 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
];
};
};
}