about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-09-26T07·54+0300
committerclbot <clbot@tvl.fyi>2023-09-26T10·07+0000
commitd8f5c5b109764391ec37256b7f20fc2954bfa748 (patch)
treebc3f23f5f173b1c75041f0860a303e497efa5054
parent6b02800e486a46e28d6bec79ba3ba94fe006e8c5 (diff)
fix(tvix/store): allow building with Nix on Darwin r/6661
Curently both fuse and virtiofs features fail to build on Darwin.
Disable them for now until fixed.

Change-Id: Ic99fa5e3ebec8a7072ba884101a5c18652ed409c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9473
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
-rw-r--r--tvix/store/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/store/default.nix b/tvix/store/default.nix
index e324866a7f..90fa3f06a2 100644
--- a/tvix/store/default.nix
+++ b/tvix/store/default.nix
@@ -24,6 +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" ];
 }).overrideAttrs (_: {
   meta.ci.extraSteps = {
     import-docs = (mkImportCheck "tvix/store/docs" ./docs);