Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YShymaPrXmc3KYRUg2HMSs
28 lines
775 B
Nix
28 lines
775 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
packages = [
|
|
pkgs.git
|
|
pkgs.pkg-config
|
|
# libsystemd.pc lives in the .dev output; the pkg-config setup hook finds
|
|
# it when the package is in `packages`.
|
|
pkgs.systemd
|
|
# Local OTLP collector for the telemetry workstream (G7).
|
|
pkgs.opentelemetry-collector-contrib
|
|
];
|
|
|
|
languages.rust.enable = true;
|
|
|
|
# Local OTLP collector with a debug exporter: `devenv up`.
|
|
processes.otelcol.exec = "otelcol-contrib --config dev/otelcol.yaml";
|
|
|
|
scripts.build.exec = ''cargo build "$@"'';
|
|
scripts.run.exec = ''cargo run -- "$@"'';
|
|
scripts.smoke.exec = "cargo test --test binary_smoke -- --nocapture";
|
|
scripts.token.exec = ''cargo run -- token "$@"'';
|
|
|
|
enterShell = ''
|
|
export CLAUDE_CONFIG_DIR="$(pwd)/.claude-account"
|
|
'';
|
|
}
|