2024-05-26 16:27:10 +02:00
|
|
|
{ depot, pkgs, lib, ... }:
|
2023-11-03 12:34:37 +01:00
|
|
|
|
|
|
|
(depot.tvix.crates.workspaceMembers.tvix-glue.build.override {
|
|
|
|
runTests = true;
|
2024-02-23 16:09:20 +01:00
|
|
|
testPreRun = ''
|
|
|
|
export SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt;
|
|
|
|
'';
|
2024-05-26 16:27:10 +02: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=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt;
|
|
|
|
'';
|
|
|
|
};
|
2023-11-03 12:34:37 +01:00
|
|
|
})
|