Skip to content

Commit

Permalink
refactor: upstream both required patches
Browse files Browse the repository at this point in the history
  • Loading branch information
thecaralice committed Oct 16, 2024
1 parent 19b5f0a commit 5edd09c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
12 changes: 11 additions & 1 deletion packages/server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
darwin,
pkg-config,
libiconv,
fetchpatch,
defaultReleaseProfile ? false,
}:
let
Expand Down Expand Up @@ -57,7 +58,16 @@ let
);
totalArgs = commonArgs // {
inherit cargoArtifacts;
patches = [ ./session_state.patch ] ++ lib.optional defaultReleaseProfile ./release.patch;
patches = [
(fetchpatch {
url = "https://github.com/devflowinc/trieve/pull/2592.patch";
hash = "sha256-enDoYb+YoVqziOQdGuLksGwFF4fOFy+sWeMb8N7UmjY=";
})
(fetchpatch {
url = "https://github.com/devflowinc/trieve/pull/2590.patch";
hash = "sha256-H8lax4FM8VW+v5RoCRXVEz+ReZsfz1Tmq6BHBS90F0Q=";
})
] ++ lib.optional defaultReleaseProfile ./release.patch;
};
in
craneLib.buildPackage (
Expand Down
9 changes: 0 additions & 9 deletions packages/server/session_state.patch

This file was deleted.

0 comments on commit 5edd09c

Please sign in to comment.