05f7be1983
Some checks failed
build configuration / build_vault01 (push) Successful in 1m19s
build configuration / build_web02 (push) Successful in 1m20s
build configuration / build_compute01 (push) Successful in 1m24s
build configuration / build_web01 (push) Successful in 1m45s
lint / check (push) Failing after 29s
build configuration / build_bridge01 (push) Successful in 1m3s
build configuration / build_geo01 (push) Successful in 1m5s
build configuration / build_geo02 (push) Successful in 1m5s
build configuration / build_rescue01 (push) Successful in 1m11s
build configuration / push_to_cache_web02 (push) Successful in 1m15s
build configuration / push_to_cache_bridge01 (push) Successful in 1m16s
build configuration / push_to_cache_geo01 (push) Successful in 1m21s
build configuration / push_to_cache_compute01 (push) Successful in 1m42s
build configuration / push_to_cache_web01 (push) Successful in 2m2s
build configuration / push_to_cache_geo02 (push) Successful in 1m9s
build configuration / push_to_cache_rescue01 (push) Successful in 1m16s
build configuration / build_storage01 (push) Successful in 13m6s
build configuration / push_to_cache_storage01 (push) Successful in 1m39s
47 lines
1.1 KiB
Nix
47 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
fetchgit,
|
|
rustPlatform,
|
|
protobuf,
|
|
runCommand,
|
|
}:
|
|
let
|
|
tvix-hash = "sha256-It3brj6SX+9OIGyKsITnNLjzDnB7CBCZDS+S7arRiWY=";
|
|
tvix-src = fetchgit {
|
|
name = "tvix";
|
|
url = "https://git.dgnum.eu/mdebray/tvl-depot";
|
|
rev = "3389c550b92d8b631f75e5a77e244fe698e4b4b2";
|
|
hash = tvix-hash;
|
|
};
|
|
protos = runCommand "tvix-protos" { } ''
|
|
mkdir $out
|
|
cd ${tvix-src}/tvix #remove tvix maybe
|
|
find . -name '*.proto' -exec install -D {} $out/{} \;
|
|
'';
|
|
in
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "multitenant-binary-cache";
|
|
version = "0.1.0";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.lix.systems/sinavir/multitenant-tvix-binary-cache.git";
|
|
rev = "0d4c5ca8f75e156f9485fc085e93e85260e2e843";
|
|
hash = "sha256-OmXud+MhF2M02ofqDOnmazf190vu91i6RZ2y0NdA8oU=";
|
|
};
|
|
|
|
PROTO_ROOT = protos;
|
|
|
|
nativeBuildInputs = [ protobuf ];
|
|
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
outputHashes = {
|
|
"bigtable_rs-0.2.10" = "sha256-2NC3rHbS2rdD0Rnovymn1xaR22KaR6yzWr298wOPxlY=";
|
|
"nar-bridge-0.1.0" = tvix-hash;
|
|
};
|
|
};
|
|
cargoHash = "";
|
|
|
|
meta = { };
|
|
}
|