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);
|
|
|
|
passthru = depot.tvix.utils.mkFeaturePowerset {
|
|
|
|
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
|
|
|
'';
|
|
|
|
};
|
2023-11-03 12:34:37 +01:00
|
|
|
})
|