its for when you want to get like notifications for your reposts
1{
2 stdenv,
3 nodejs,
4 pnpm,
5 lib,
6 pnpmDeps,
7}:
8stdenv.mkDerivation (finalAttrs: {
9 pname = "brl-monitor";
10 version = "main";
11
12 src = lib.fileset.toSource {
13 root = ../.;
14 fileset = lib.fileset.unions [./. ../pnpm-lock.yaml ../pnpm-workspace.yaml];
15 };
16
17 nativeBuildInputs = [
18 nodejs
19 pnpm.configHook
20 ];
21
22 buildPhase = "pnpm -C webapp build";
23 installPhase = "mv webapp/dist $out";
24
25 inherit pnpmDeps;
26})