about summary refs log blame commit diff
path: root/tvix/nix-compat/default.nix
blob: 34938e3d6428b719e84d916006a261aa183d9388 (plain) (tree)
1
2
3
4
5
6
7
8
9
                    
 
                                                               
                  

                                                                                                                   
                                                                  

                                  
     
  
{ depot, lib, ... }:

(depot.tvix.crates.workspaceMembers.nix-compat.build.override {
  runTests = true;
}).overrideAttrs (old: rec {
  meta.ci.targets = lib.filter (x: lib.hasPrefix "with-features" x || x == "no-features") (lib.attrNames passthru);
  passthru = old.passthru // (depot.tvix.utils.mkFeaturePowerset {
    inherit (old) crateName;
    features = [ "async" "wire" ];
  });
})