tvl-depot/tvix/castore/default.nix

24 lines
756 B
Nix
Raw Normal View History

{ 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" ];
};
})