Cameron Mcloughlinagent: Sanboxing on linux (#58355)66612735 months agoHistory
28 lines · 569 B · Nix
RawDownload
{ 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; };    };}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t