garage: mark broken on Darwin

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>
This commit is contained in:
Raito Bezarius 2024-03-01 19:35:03 +01:00
parent b041481ef3
commit 4ffb9ba707

View File

@ -107,6 +107,7 @@ rec {
version = "0.9.2";
sha256 = "sha256-6a400/wOZunVH+LAByd6BEA0gs56Rxyh+gvM4hUO4Y8=";
cargoSha256 = "sha256-1p6bB2gMOCHDdILEwgoJ1EqvgGhLPcThNkwaz6NMZhQ=";
broken = stdenv.isDarwin;
};
garage_0_9 = garage_0_9_2;