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

                                                            







                                                                                                                   
# TODO: find a way to build the benchmarks via crate2nix
{ depot, pkgs, lib, ... }:

(depot.tvix.crates.workspaceMembers.tvix-eval.build.override {
  runTests = true;

  # Make C++ Nix available, to compare eval results against.
  testInputs = [ pkgs.nix ];
}).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.testInputs = [ pkgs.nix ];
  };
})