karakeep: pass patches directly to fetchPnpmDeps (#535920)

This commit is contained in:
dotlambda
2026-06-28 16:20:28 +00:00
committed by GitHub
+6 -11
View File
@@ -52,18 +52,13 @@ stdenv.mkDerivation (finalAttrs: {
];
pnpmDeps = fetchPnpmDeps {
inherit (finalAttrs) pname version;
inherit (finalAttrs)
pname
version
src
patches
;
pnpm = pnpm_9;
# We need to pass the patched source code, so pnpm sees the patched version
src = stdenv.mkDerivation {
name = "${finalAttrs.pname}-patched-source";
inherit (finalAttrs) src patches;
installPhase = ''
cp -pr --reflink=auto -- . $out
'';
};
fetcherVersion = 3;
hash = "sha256-aT4JPx3iYw4kw8GHXKWMnelSVT0q2S3PK8DgSCQCyKQ=";
};