fix(tvix/store): Fix FUSE support on MacOS
This partially fixes b/312 and gets FUSE to work again on MacOS. It is mostly small type changes and an update to fuse-backend-rs because upstream currently doesn't work with MacFuse. It also sets the default FUSE thread count on MacOS to 1 because otherwise the mount command will hang when shutting down as only one thread gets ENODEV and all the others just keep blocking. Change-Id: Ifb3c4268caf296c487049c1dc4618acb32497f44 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9490 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com> Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
5c2cad0ac4
commit
cfb810d81a
9 changed files with 42 additions and 22 deletions
|
|
@ -24,8 +24,8 @@ in
|
|||
|
||||
(depot.tvix.crates.workspaceMembers.tvix-store.build.override {
|
||||
runTests = true;
|
||||
# both fuse and virtiofs features currently fail to build on Darwin.
|
||||
features = if pkgs.stdenv.isDarwin then [ "tonic-reflection" ] else [ "default" ];
|
||||
# virtiofs feature currently fails to build on Darwin.
|
||||
features = if pkgs.stdenv.isDarwin then [ "fuse" "tonic-reflection" ] else [ "default" ];
|
||||
}).overrideAttrs (_: {
|
||||
meta.ci.extraSteps = {
|
||||
import-docs = (mkImportCheck "tvix/store/docs" ./docs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue