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 = ''
|
2024-07-07 16:16:36 +02:00
|
|
|
export SSL_CERT_FILE=/dev/null
|
2024-02-23 16:09:20 +01:00
|
|
|
'';
|
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);
|
2024-08-16 01:06:25 +02:00
|
|
|
passthru = old.passthru // (depot.tvix.utils.mkFeaturePowerset {
|
2024-05-26 16:27:10 +02:00
|
|
|
inherit (old) crateName;
|
|
|
|
features = [ "nix_tests" ];
|
|
|
|
override.testPreRun = ''
|
2024-07-07 16:16:36 +02:00
|
|
|
export SSL_CERT_FILE=/dev/null
|
2024-05-26 16:27:10 +02:00
|
|
|
'';
|
2024-08-16 01:06:25 +02:00
|
|
|
});
|
2023-11-03 12:34:37 +01:00
|
|
|
})
|