@@ -0,0 +1,33 @@
1+{
2+ description = "seax: an Urbit search agent";
3+
4+ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
5+
6+ outputs =
7+ { self, nixpkgs }:
8+ let
9+ forAllSystems = nixpkgs.lib.genAttrs [
10+ "x86_64-linux"
11+ "aarch64-linux"
12+ "x86_64-darwin"
13+ "aarch64-darwin"
14+ ];
15+ in
16+ {
17+ packages = forAllSystems (
18+ system:
19+ let
20+ pkgs = nixpkgs.legacyPackages.${system};
21+ in
22+ {
23+ # The %seax desk, ready to be copied into a mounted desk directory
24+ # and committed with `|commit %seax`.
25+ desk = pkgs.runCommand "seax-desk" { } ''
26+ cp -r --no-preserve=mode ${./zod/seax} $out
27+ '';
28+
29+ default = self.packages.${system}.desk;
30+ }
31+ );
32+ };
33+}