update
NixOS Configuration CI / Nix Flake Check (push) Successful in 8s

This commit is contained in:
luis committed 2026-09-23 12:04:12 +02:00
1 parent eab27798b2
commit 471a7b4fbf
20 files changed
+33235 -1661

No files matched your search

+13 -4
View File
@@ -2,24 +2,33 @@
lib,
buildNpmPackage,
fetchzip,
autoPatchelfHook,
stdenv,
}:
buildNpmPackage rec {
pname = "pdf-reader-mcp";
version = "2.3.0";
version = "4.1.3";
src = fetchzip {
url = "https://registry.npmjs.org/@sylphx/pdf-reader-mcp/-/pdf-reader-mcp-${version}.tgz";
hash = "sha256-nLtTYE5pSLigAQqsWx3TvntOign30vUJ4jaCDScm9oY=";
hash = "sha256-oxEL7lwEJdhPoA4p/HiQeMp9TP7al1z2KpiPTUPqn6c=";
};
npmDepsHash = "sha256-Z+C1pGJb1gCUR4qlM9ZSjhevqWPdCOVhL631GFaehbc=";
npmDepsHash = "sha256-3XohzskNUMGkIgZvQie9DA8DfHxJZGD86n+uVZPxMdg=";
# The runtime launcher spawns a prebuilt Rust binary shipped in the matching
# optional platform package. On Linux it is dynamically linked against glibc,
# so its interpreter and RPATH must be patched for NixOS.
nativeBuildInputs = lib.optional stdenv.isLinux autoPatchelfHook;
buildInputs = lib.optional stdenv.isLinux stdenv.cc.cc.lib;
postPatch = ''
cp ${./package-lock.json} package-lock.json
'';
# dist/ is already built in the npm tarball
# dist/ and the native Rust binary ship prebuilt; there is no build step.
dontNpmBuild = true;
meta = with lib; {