chore(tvix/nar): add CI build target
Change-Id: Ic73a391da9a733cade26114ab1127907c8d62a57 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7598 Reviewed-by: flokli <flokli@flokli.de> Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
f467df06dc
commit
a95dea719f
6 changed files with 33 additions and 8 deletions
|
@ -73,6 +73,16 @@ rec {
|
|||
# File a bug if you depend on any for non-debug work!
|
||||
debug = internal.debugCrate { inherit packageId; };
|
||||
};
|
||||
"tvix-nar" = rec {
|
||||
packageId = "tvix-nar";
|
||||
build = internal.buildRustCrateWithFeatures {
|
||||
packageId = "tvix-nar";
|
||||
};
|
||||
|
||||
# Debug support which might change between releases.
|
||||
# File a bug if you depend on any for non-debug work!
|
||||
debug = internal.debugCrate { inherit packageId; };
|
||||
};
|
||||
"tvix-store" = rec {
|
||||
packageId = "tvix-store";
|
||||
build = internal.buildRustCrateWithFeatures {
|
||||
|
@ -4373,6 +4383,18 @@ rec {
|
|||
}
|
||||
];
|
||||
|
||||
};
|
||||
"tvix-nar" = rec {
|
||||
crateName = "tvix-nar";
|
||||
version = "0.0.0";
|
||||
edition = "2021";
|
||||
# We can't filter paths with references in Nix 2.4
|
||||
# See https://github.com/NixOS/nix/issues/5410
|
||||
src =
|
||||
if (lib.versionOlder builtins.nixVersion "2.4pre20211007")
|
||||
then lib.cleanSourceWith { filter = sourceFilter; src = ./nar; }
|
||||
else ./nar;
|
||||
|
||||
};
|
||||
"tvix-store" = rec {
|
||||
crateName = "tvix-store";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue