diff options
author | Connor Brewster <cbrewster@hey.com> | 2023-10-07T02·17-0500 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-10-07T02·34+0000 |
commit | 9019d8568e845afe9f2621bf3d5e1918a8ff5cf9 (patch) | |
tree | 70b7babfd7ed0077eb20e2c0b10627a3aeb6b913 /tvix/store/default.nix | |
parent | 9c0d66197bfa60a0c14109a471b6bcdfd61247e1 (diff) |
fix(tvix/store): Remove virtiofs from default features r/6720
vhost-user-backend doesn't support macOS yet, so the virtiofs features will not work on macOS. This removes it as a default feature which makes `cargo build` work out of the box on macOS. The `virtiofs` feature is enabled for Linux when building via Nix, but if being built by cargo directly, the feature must be enabled via a cargo flag. Change-Id: I2aaca9582f8e3dbcf9ee5f1b9831d614909f3799 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9555 Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Autosubmit: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'tvix/store/default.nix')
-rw-r--r-- | tvix/store/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tvix/store/default.nix b/tvix/store/default.nix index 0372047e94fe..35d2a22bb2ce 100644 --- a/tvix/store/default.nix +++ b/tvix/store/default.nix @@ -25,7 +25,8 @@ in (depot.tvix.crates.workspaceMembers.tvix-store.build.override { runTests = true; # virtiofs feature currently fails to build on Darwin. - features = if pkgs.stdenv.isDarwin then [ "fuse" "tonic-reflection" ] else [ "default" ]; + # we however can ship it for non-darwin. + features = if pkgs.stdenv.isDarwin then [ "default" ] else [ "default" "virtiofs" ]; }).overrideAttrs (_: { meta.ci.extraSteps = { import-docs = (mkImportCheck "tvix/store/docs" ./docs); |