tvl-depot/tvix/nix-compat/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
372 B
Nix
Raw Normal View History

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