tracks lexicons and how many times they appeared on the jetstream
1{
2 stdenv,
3 bun,
4}:
5stdenv.mkDerivation {
6 pname = "client-modules";
7 version = "main";
8
9 src = ../client;
10
11 outputHash = "sha256-njwXk3u0NUsYWLv9EOdCltgQOjTVkcfu+D+0COSw/6I=";
12 outputHashAlgo = "sha256";
13 outputHashMode = "recursive";
14
15 nativeBuildInputs = [bun];
16
17 dontCheck = true;
18 dontConfigure = true;
19 dontFixup = true;
20 dontPatchShebangs = true;
21
22 buildPhase = "bun install --no-cache --no-progress --frozen-lockfile";
23 installPhase = ''
24 mkdir -p $out
25
26 # Do not copy .cache or .bin
27 cp -R ./node_modules/* $out
28 cp -R ./node_modules/.bin $out
29 ls -la $out
30 '';
31}