minimal-x86-64/nixos-minimal-25.05.813814.ac62194c3917-x86_64-linux/nix-store.squashfs.d/crs1ks6b3513ymkmxn8g4iivxz95gvkf-nixos-25.05.813814.ac62194c3917/nixos/pkgs/by-name/ch/chatd
References a public code-forge URLContains an executable rm -rf deletion command
SHA-25604d8c83a1232d361bcde1d6277f024fb5876bb966241b5e5ac0e71c619eb29ce
MaleculeH₂(CmF)
Evidence
38:19… stdenv.hostPlatform.isLinux autoPatchelfHook; # for onnx libs
39
40 buildInputs = [
41 (lib.getLib stdenv.cc.cc) # for libstdc++.so, required by onnx …
41:70… time
42 vips # or it will try to download from the Internet
43 ];
44
⋯7 lines
63:69… ort os from 'os';" \
64 --replace-fail 'path.dirname(path.dirname(url.fileURLToPath(import.meta.url)))' 'path.join(os.homedir(), ".cache", "chatd")'
65
66 rm -rf $out/share/electron{,-winstaller} $(find $out -name 'win32')
67 find $out/share/chatd/node_modules -name '*.exe' -or -name '*.dll' -or -name '*.pdb' -delete
68 rm -rf ${
69 lib.concatStringsSep " " (
70 (lib.optional (
71 !stdenv.hostPlatform.isx86_64
72 ) "$out/share/chatd/n …
86:49… x = "v"; };
87
88 meta = {
89 description = "Chat with your documents using local AI";
90 homepage = "https://github.com/BruceMacD/chatd";
91 changelog = "https://github.com/BruceMacD/chatd/releases/tag/v${version}";
92 license = lib.licenses.mit;
93 maintainers = [ lib.maintainers.lucasew ];
94 …