about summary refs log blame commit diff
path: root/users/flokli/archeology/default.nix
blob: f5d7ae3fc3398e95081faac29ea136c050971dc0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                                                           
{ depot, pkgs, ... }:

depot.nix.readTree.drvTargets {
  parse-bucket-logs = pkgs.runCommand "archeology-parse-bucket-logs"
    {
      nativeBuildInputs = [ pkgs.makeWrapper ];
    } ''
    mkdir -p $out/bin
    makeWrapper ${(pkgs.writers.writeRust "parse-bucket-logs-unwrapped" {} ./parse_bucket_logs.rs)} $out/bin/archeology-parse-bucket-logs \
      --prefix PATH : ${pkgs.lib.makeBinPath [ pkgs.clickhouse ]}
  '';
}