Something went wrong. Try again.
Tea journaling on ATProto (alpha)
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455{ description = "Oolong development and packaging flake"; inputs = { nixpkgs.url = "nixpkgs/nixpkgs-unstable"; }; outputs = { nixpkgs, self, ... }: let forAllSystems = function: nixpkgs.lib.genAttrs [ "x86_64-linux" "aarch64-linux" ] ( system: function nixpkgs.legacyPackages.${system} system ); in { devShells = forAllSystems ( pkgs: system: { default = pkgs.mkShell { packages = with pkgs; [ go templ just nodejs pnpm prettier ]; }; } ); packages = forAllSystems ( pkgs: system: rec { oolong = pkgs.callPackage ./nix/default.nix { appName = "oolong"; }; default = oolong; } ); apps = forAllSystems ( pkgs: system: { default = { type = "app"; program = "${self.packages.${system}.oolong}/bin/oolong"; }; oolong = { type = "app"; program = "${self.packages.${system}.oolong}/bin/oolong"; }; monitoring = import ./nix/monitoring.nix { inherit pkgs; }; } ); nixosModules = { oolong = import ./nix/oolong-module.nix; default = self.nixosModules.oolong; }; };}