From 92d2fb3fc6ab7d317b8f94791c4a9f0b9c358d23 Mon Sep 17 00:00:00 2001 From: Thierry Delafontaine Date: Sat, 30 May 2026 20:47:48 +0200 Subject: [PATCH] ctx7: install {plugins,rules,skills} to output Also adds `__structuredAttrs` and `strictDeps` attributes. --- pkgs/by-name/ct/ctx7/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/ct/ctx7/package.nix b/pkgs/by-name/ct/ctx7/package.nix index dd23e634e3b1..2d1ae96149eb 100644 --- a/pkgs/by-name/ct/ctx7/package.nix +++ b/pkgs/by-name/ct/ctx7/package.nix @@ -18,6 +18,9 @@ stdenv.mkDerivation (finalAttrs: { pname = "ctx7"; version = "0.4.4"; + __structuredAttrs = true; + strictDeps = true; + src = fetchFromGitHub { owner = "upstash"; repo = "context7"; @@ -61,6 +64,8 @@ stdenv.mkDerivation (finalAttrs: { makeWrapper ${nodejs}/bin/node $out/bin/ctx7 \ --add-flags "$out/lib/ctx7/dist/index.js" + cp -R $src/{plugins,rules,skills} $out + runHook postInstall '';