diff options
author | Florian Klink <flokli@flokli.de> | 2024-04-05T13·54+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-04-09T19·40+0000 |
commit | fbf31f45efb48776c73ce88f093a416f59d22585 (patch) | |
tree | b17088a27c667c2d2c771a616006440341aa7fe9 /tvix/store/default.nix | |
parent | d6cadee9413f0c99f7b5a3c545a15c76ea20cfba (diff) |
feat(tvix/store): add bigtable pathinfoservice backend r/7884
Put behind the "cloud" backend, like in the `tvix-castore` crate. Change-Id: Ib38d198baf11ab2a4b6dc405121676147c424611 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11362 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/default.nix')
-rw-r--r-- | tvix/store/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tvix/store/default.nix b/tvix/store/default.nix index 2c07cdf2b31f..f30923ac272a 100644 --- a/tvix/store/default.nix +++ b/tvix/store/default.nix @@ -25,12 +25,14 @@ in (depot.tvix.crates.workspaceMembers.tvix-store.build.override { runTests = true; testPreRun = '' - export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt; + export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt + export PATH="$PATH:${pkgs.lib.makeBinPath [pkgs.cbtemulator pkgs.google-cloud-bigtable-tool]}" ''; - # virtiofs feature currently fails to build on Darwin. - # we however can ship it for non-darwin. - features = if pkgs.stdenv.isDarwin then [ "default" ] else [ "default" "virtiofs" ]; + # enable some optional features. + features = [ "default" "cloud" ] + # virtiofs feature currently fails to build on Darwin. + ++ pkgs.lib.optional pkgs.stdenv.isLinux "virtiofs"; }).overrideAttrs (_: { meta.ci.extraSteps = { import-docs = (mkImportCheck "tvix/store/docs" ./docs); |