Skip to content

Commit

Permalink
fix(clickhouse): use devflowinc/trieve#2625 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
thecaralice committed Oct 19, 2024
1 parent e948e43 commit e1d7c88
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions packages/server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,23 @@ let
hash = "sha256-fRKHMcpRxUBpLsoQUEAxxR5fSFXj3WkOaLIH2vTKszI=";
relative = "server";
})
(fetchpatch2 {
url = "https://github.com/devflowinc/trieve/pull/2625.patch";
hash = "sha256-aCOfsp3ZH9ZrCglOtVN0lfB5kBx/aKEp8eEphjhQ2xQ=";
relative = "server";
})
] ++ lib.optional defaultReleaseProfile ./release.patch;
};
in
craneLib.buildPackage (
totalArgs
// {
postInstall = ''
mkdir -p "$out/share/trieve"
cp -R ./migrations/ "$out/share/trieve"
cp -R ./ch_migrations/ "$out/share/trieve"
mkdir -p "$out/share/trieve/src/"
cp -R ./src/public/ "$out/share/trieve/src/"
mkdir -p "$out/share/"
cp -R ./migrations/ "$out/share/"
cp -R ./ch_migrations/ "$out/share/"
mkdir -p "$out/share/src/"
cp -R ./src/public/ "$out/share/src/"
'';
}
)

0 comments on commit e1d7c88

Please sign in to comment.