its for when you want to get like notifications for your reposts
1{
2 inputs = {
3 flake-parts.url = "github:hercules-ci/flake-parts";
4 nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
5 };
6
7 outputs = inputs@{ flake-parts, ... }:
8 flake-parts.lib.mkFlake { inherit inputs; } {
9 systems = [ "x86_64-linux" ];
10 perSystem = { pkgs, lib, ... }: let
11 pnpmDeps = pkgs.pnpm.fetchDeps {
12 pname = "workspace";
13 version = "";
14 src = lib.fileset.toSource {
15 root = ./.;
16 fileset = lib.fileset.unions [./pnpm-lock.yaml ./pnpm-workspace.yaml ./extension ./webapp];
17 };
18 hash = "sha256-4Z7CqMG4Ixh7auYjrt4zlO3xNGUZ7IXl0pKclX581K8=";
19 };
20 in {
21 packages.default = pkgs.callPackage ./server/package.nix {};
22 packages.webapp = pkgs.callPackage ./webapp/package.nix {inherit pnpmDeps;};
23 packages.extension = pkgs.callPackage ./extension/package.nix {inherit pnpmDeps;};
24 };
25 };
26}