Skip to content

Commit

Permalink
fix: pass cargoLock to fix vendoring issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thecaralice committed Oct 15, 2024
1 parent 9a4a2b1 commit acc4c0c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ let
drv;
};
};
cargoArtifacts = craneLib.buildDepsOnly commonArgs;
cargoArtifacts = craneLib.buildDepsOnly (
commonArgs
// {
cargoLock = "${commonArgs.src}/server/Cargo.lock";
}
);
totalArgs = commonArgs // {
postPatch = ''
rm migrations/.gitkeep
Expand Down

0 comments on commit acc4c0c

Please sign in to comment.