about summary refs log blame commit diff
path: root/tvix/glue/default.nix
blob: e2b36e94b87f401128ca545199a8855c9366ed84 (plain) (tree)
1
2
3
4
5
6
7
                          


                                                              
                 
                                  
     





                                                                                                                   
                                    

       
  
{ depot, pkgs, lib, ... }:

(depot.tvix.crates.workspaceMembers.tvix-glue.build.override {
  runTests = true;
  testPreRun = ''
    export SSL_CERT_FILE=/dev/null
  '';
}).overrideAttrs (old: rec {
  meta.ci.targets = lib.filter (x: lib.hasPrefix "with-features" x || x == "no-features") (lib.attrNames passthru);
  passthru = depot.tvix.utils.mkFeaturePowerset {
    inherit (old) crateName;
    features = [ "nix_tests" ];
    override.testPreRun = ''
      export SSL_CERT_FILE=/dev/null
    '';
  };
})