-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I'm trying to build a rust crate using nix's crane library, which breaks the build into two parts:
- It builds all the dependencies with a "stub" crate in one temporary build dir,
- packages up the target/ directory,
- builds the "main" crate with the previous target/ directory in place, in a second temporary build dir
This usually works great, but with turbosql, there is an issue: In the third step, it attempts to write to the migrations.toml into the build dir from the first step.
I'm not sure why it picks the wrong build dir, but I feel like this is not ideal in any case: For these builds, I'd love to be able to turn off turbosql re-writing the migrations.toml file, in favor of checking that it's the same as the one that it would be writing - somewhat like the "locked" mode in yarn or cargo.
Does that make sense?
Metadata
Metadata
Assignees
Labels
No labels