forked from yu-re-ka/binary-cache
hacks?
This commit is contained in:
parent
1ab0f99e77
commit
5bb8103962
|
@ -110,9 +110,9 @@ in
|
|||
cacheAttrs.config.common-composition
|
||||
{
|
||||
pathinfoservices.default = {
|
||||
type = "sled";
|
||||
type = "redb";
|
||||
is_temporary = false;
|
||||
path = "/var/lib/tvix-daemon-${name}/pathinfos.sled";
|
||||
path = "/var/lib/tvix-daemon-${name}/pathinfos.redb";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
{
|
||||
lib,
|
||||
fetchgit,
|
||||
fetchpatch,
|
||||
rustPlatform,
|
||||
protobuf,
|
||||
packages ? [ ],
|
||||
pname ? "tvix",
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
inherit pname;
|
||||
version = "0.1.0";
|
||||
|
||||
src = builtins.fetchGit {
|
||||
src ? builtins.fetchGit {
|
||||
name = "tvix";
|
||||
url = "https://code.tvl.fyi/depot.git";
|
||||
rev = "96a78877eb0d3109bd5b76345b9f1aa87bb3ec20";
|
||||
};
|
||||
},
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit pname src;
|
||||
version = "0.1.0";
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
|
@ -32,13 +32,18 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
cargoBuildFlags = builtins.concatStringsSep " " (
|
||||
builtins.map (v: "-p ${v}") packages
|
||||
++ [
|
||||
"--features"
|
||||
#buildNoDefaultFeatures = true;
|
||||
|
||||
buildFeatures = [
|
||||
"tvix-store/xp-store-composition"
|
||||
]
|
||||
);
|
||||
#"tvix-store/fs"
|
||||
#"tvix-store/fuse"
|
||||
#"tvix-store/tonic-reflection"
|
||||
#"nix-compat/async"
|
||||
#"nix-compat/wire"
|
||||
];
|
||||
|
||||
cargoBuildFlags = builtins.map (v: "-p ${v}") packages;
|
||||
|
||||
nativeBuildInputs = [ protobuf ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue