tvl-depot/tvix/glue/default.nix

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

18 lines
507 B
Nix
Raw Normal View History

{ depot, pkgs, lib, ... }:
(depot.tvix.crates.workspaceMembers.tvix-glue.build.override {
runTests = true;
2024-02-23 16:09:20 +01:00
testPreRun = ''
export SSL_CERT_FILE=/dev/null
2024-02-23 16:09:20 +01:00
'';
}).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
'';
};
})