about summary refs log tree commit diff
path: root/tvix/nix-compat/default.nix
blob: 08b053b77dd17f320468c5d25ef0a8b04d22aa1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{ 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 = depot.tvix.utils.mkFeaturePowerset {
    inherit (old) crateName;
    features = [ "async" "wire" ];
  };
})