mirror of
https://github.com/zed-industries/zed.git
synced 2026-08-10 09:33:48 +00:00
Release Notes: - N/A or Added/Fixed/Improved ... --------- Co-authored-by: Richard Feldman <oss@rtfeldman.com> Co-authored-by: Martin Ye <martin@zed.dev> Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
28 lines
569 B
Nix
28 lines
569 B
Nix
{ inputs, ... }:
|
|
{
|
|
perSystem =
|
|
{
|
|
pkgs,
|
|
lib,
|
|
system,
|
|
...
|
|
}:
|
|
let
|
|
mkZed = import ../toolchain.nix { inherit inputs; };
|
|
zed-editor = mkZed pkgs;
|
|
in
|
|
{
|
|
packages = {
|
|
default = zed-editor;
|
|
debug = zed-editor.override { profile = "dev"; };
|
|
};
|
|
}
|
|
// lib.optionalAttrs (lib.hasSuffix "linux" system) {
|
|
checks = {
|
|
a11y-test = import ../tests/a11y.nix {
|
|
inherit pkgs inputs;
|
|
};
|
|
}
|
|
// import ../tests/sandboxing { inherit pkgs inputs; };
|
|
};
|
|
}
|