This is yet another incarnation of https://tracker.ceph.com/issues/64213
which was fixed for cryptography specifically (thus fixing dashboard)
but since our bcrypt update https://github.com/NixOS/nixpkgs/pull/291195
every module broke for the same reason
Until upstream manages to get this fixed permanently, I don't see that
we can do much but "vendor" in these old deps.
It may be possible to more delicately patch the rust package underneath
bcrypt, but I'm not sure how
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
It broke again because of some linker error.
```
garage-aarch64-darwin> warning: use of deprecated associated function `garage_db::sled_adapter::SledDb::init`: The Sled database is now deprecated and will be removed in Garage v1.0. Please migrate to LMDB or Sqlite as soon as possible.
garage-aarch64-darwin> --> src/model/garage.rs:134:31
garage-aarch64-darwin> |
garage-aarch64-darwin> 134 | db::sled_adapter::SledDb::init(db)
garage-aarch64-darwin> | ^^^^
garage-aarch64-darwin> |
garage-aarch64-darwin> = note: `#[warn(deprecated)]` on by default
garage-aarch64-darwin>
garage-aarch64-darwin> Compiling garage_api v0.9.2 (/private/tmp/nix-build-garage-0.9.2.drv-0/source/src/api)
garage-aarch64-darwin> Compiling garage_web v0.9.2 (/private/tmp/nix-build-garage-0.9.2.drv-0/source/src/web)
garage-aarch64-darwin> warning: `garage_model` (lib) generated 1 warning
garage-aarch64-darwin> Compiling garage v0.9.2 (/private/tmp/nix-build-garage-0.9.2.drv-0/source/src/garage)
garage-aarch64-darwin> warning: use of deprecated associated function `garage_db::sled_adapter::SledDb::init`: The Sled database is now deprecated and will be removed in Garage v1.0. Please migrate to LMDB or Sqlite as soon as possible.
garage-aarch64-darwin> --> src/garage/cli/convert_db.rs:65:29
garage-aarch64-darwin> |
garage-aarch64-darwin> 65 | Ok(sled_adapter::SledDb::init(db))
garage-aarch64-darwin> | ^^^^
garage-aarch64-darwin> |
garage-aarch64-darwin> = note: `#[warn(deprecated)]` on by default
garage-aarch64-darwin>
garage-aarch64-darwin> error: linker `/nix/store/6kpjydf9x7zqa1xq2qipnwr32ki3fs2n-clang-wrapper-16.0.6/bin/cc` not found
garage-aarch64-darwin> |
garage-aarch64-darwin> = note: No such file or directory (os error 2)
```
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>