fix(users/flokli/archeology): clickhose -> clickhouse
Change-Id: I9709aa2b663df5d3fd95d48e463e9b087e4d4ce1 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11629 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
This commit is contained in:
parent
584a501a98
commit
ce1aa10b69
1 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ let
|
||||||
'';
|
'';
|
||||||
# clickhouse has a very odd AWS config concept.
|
# clickhouse has a very odd AWS config concept.
|
||||||
# Configure it to be a bit more sane.
|
# Configure it to be a bit more sane.
|
||||||
clickhoseLocalFixedAWS = pkgs.runCommand "clickhouse-local-fixed"
|
clickhouseLocalFixedAWS = pkgs.runCommand "clickhouse-local-fixed"
|
||||||
{
|
{
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
} ''
|
} ''
|
||||||
|
@ -21,19 +21,19 @@ let
|
||||||
in
|
in
|
||||||
|
|
||||||
depot.nix.readTree.drvTargets {
|
depot.nix.readTree.drvTargets {
|
||||||
inherit clickhoseLocalFixedAWS;
|
inherit clickhouseLocalFixedAWS;
|
||||||
parse-bucket-logs = pkgs.runCommand "archeology-parse-bucket-logs"
|
parse-bucket-logs = pkgs.runCommand "archeology-parse-bucket-logs"
|
||||||
{
|
{
|
||||||
nativeBuildInputs = [ pkgs.makeWrapper ];
|
nativeBuildInputs = [ pkgs.makeWrapper ];
|
||||||
} ''
|
} ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
makeWrapper ${(pkgs.writers.writeRust "parse-bucket-logs-unwrapped" {} ./parse_bucket_logs.rs)} $out/bin/archeology-parse-bucket-logs \
|
makeWrapper ${(pkgs.writers.writeRust "parse-bucket-logs-unwrapped" {} ./parse_bucket_logs.rs)} $out/bin/archeology-parse-bucket-logs \
|
||||||
--prefix PATH : ${pkgs.lib.makeBinPath [ clickhoseLocalFixedAWS ]}
|
--prefix PATH : ${pkgs.lib.makeBinPath [ clickhouseLocalFixedAWS ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
shell = pkgs.mkShell {
|
shell = pkgs.mkShell {
|
||||||
name = "archeology-shell";
|
name = "archeology-shell";
|
||||||
packages = with pkgs; [ awscli2 clickhoseLocalFixedAWS rust-analyzer rustc rustfmt ];
|
packages = with pkgs; [ awscli2 clickhouseLocalFixedAWS rust-analyzer rustc rustfmt ];
|
||||||
|
|
||||||
AWS_PROFILE = "sso";
|
AWS_PROFILE = "sso";
|
||||||
AWS_CONFIG_FILE = pkgs.writeText "aws-config" ''
|
AWS_CONFIG_FILE = pkgs.writeText "aws-config" ''
|
||||||
|
|
Loading…
Reference in a new issue