this repo has no description
1{
2 description = "atproto github";
3
4 inputs = {
5 nixpkgs.url = "github:nixos/nixpkgs";
6
7 };
8
9 outputs = {
10 self,
11 nixpkgs,
12 }: let
13 supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
14 forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
15 nixpkgsFor = forAllSystems (system:
16 import nixpkgs {
17 inherit system;
18 });
19 in {
20 defaultPackage = forAllSystems (system: self.packages.${system}.legit);
21 formatter = forAllSystems (system: nixpkgsFor."${system}".alejandra);
22 devShells = forAllSystems (system: let
23 pkgs = nixpkgsFor.${system};
24 in {
25 default = pkgs.mkShell {
26 nativeBuildInputs = [
27 pkgs.go
28 pkgs.air
29 pkgs.templ
30 pkgs.gopls
31 ];
32 };
33 });
34 };
35}