flake.nix

 1{
 2  description = "High-performance, multiplayer code editor from the creators of Atom and Tree-sitter";
 3
 4  inputs = {
 5    nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
 6  };
 7
 8  outputs =
 9    { self, nixpkgs }:
10    let
11      inherit (self) outputs;
12      systems = [
13        "aarch64-linux"
14        "x86_64-linux"
15        "aarch64-darwin"
16        "x86_64-darwin"
17      ];
18      forAllSystems = nixpkgs.lib.genAttrs systems;
19    in
20    {
21      devShells = forAllSystems (
22        system:
23        let
24          pkgs = import nixpkgs { inherit system; };
25        in
26        {
27          default = import ./shell.nix { inherit pkgs; };
28        }
29      );
30    };
31}