about summary refs log blame commit diff
path: root/tvix/castore/default.nix
blob: 641d883760721eef12c06fa391e93479cab6e9a0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                     
                                                                 
                  


                                                                    


                                   












                                                                                                    
{ depot, pkgs, ... }:

(depot.tvix.crates.workspaceMembers.tvix-castore.build.override {
  runTests = true;
  testPreRun = ''
    export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt;
  '';

  # enable some optional features.
  features = [ "default" "cloud" ];
}).overrideAttrs (_: {
  meta.ci.targets = [ "integration-tests" ];
  passthru.integration-tests = depot.tvix.crates.workspaceMembers.tvix-castore.build.override {
    runTests = true;
    testPreRun = ''
      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]}"
    '';

    # enable some optional features.
    features = [ "default" "cloud" "integration" ];
  };
})