mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
32 lines
669 B
Nix
32 lines
669 B
Nix
|
{
|
||
|
description = "High-performance, multiplayer code editor from the creators of Atom and Tree-sitter";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
|
||
|
};
|
||
|
|
||
|
outputs =
|
||
|
{ self, nixpkgs }:
|
||
|
let
|
||
|
inherit (self) outputs;
|
||
|
systems = [
|
||
|
"aarch64-linux"
|
||
|
"x86_64-linux"
|
||
|
"aarch64-darwin"
|
||
|
"x86_64-darwin"
|
||
|
];
|
||
|
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||
|
in
|
||
|
{
|
||
|
devShells = forAllSystems (
|
||
|
system:
|
||
|
let
|
||
|
pkgs = import nixpkgs { inherit system; };
|
||
|
in
|
||
|
{
|
||
|
default = import ./shell.nix { inherit pkgs; };
|
||
|
}
|
||
|
);
|
||
|
};
|
||
|
}
|