From aa51544a14ba28ff65140c1de9684d1e0d5dbc05 Mon Sep 17 00:00:00 2001 From: floory <67979730+flooryyyy@users.noreply.github.com> Date: Sat, 11 Oct 2025 15:26:59 +0100 Subject: [PATCH 1/2] Create shell.nix for development environment Set up a Nix shell environment with Node.js and Python libraries for people using NixOS --- shell.nix | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 shell.nix diff --git a/shell.nix b/shell.nix new file mode 100644 index 00000000..75b7ae73 --- /dev/null +++ b/shell.nix @@ -0,0 +1,32 @@ +{ pkgs ? import {} }: + +pkgs.mkShell { + buildInputs = with pkgs; [ + nodejs + nodePackages.node-gyp + python313 + python313Packages.setuptools + python313Packages.wheel + python313Packages.distutils + + # Document processing libraries + python313Packages.pypdf2 + python313Packages.python-docx + python313Packages.python-pptx + python313Packages.pandas + python313Packages.openpyxl + python313Packages.xlrd + python313Packages.striprtf + python313Packages.beautifulsoup4 + + # Build tools + gcc + cmake + pkg-config + ]; + + shellHook = '' + # make sure node-gyp/npm use the shell python + export npm_config_python=${pkgs.python313}/bin/python3 + ''; +} From 3235ac14a1acb6a5620023a09fe5e7f03340c736 Mon Sep 17 00:00:00 2001 From: floory <67979730+flooryyyy@users.noreply.github.com> Date: Sat, 11 Oct 2025 15:34:11 +0100 Subject: [PATCH 2/2] Remove 'deb' target from Linux build options fixes builds on non-debian distros --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 76f8e2b1..e01806da 100644 --- a/package.json +++ b/package.json @@ -384,7 +384,6 @@ }, "linux": { "target": [ - "deb", "AppImage" ], "category": "Development",