24 lines
569 B
Nix
24 lines
569 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;
|
|
|
|
scripts.build.exec = ''cargo build "$@"'';
|
|
scripts.run.exec = ''cargo run -- "$@"'';
|
|
scripts.token.exec = ''cargo run -- token "$@"'';
|
|
|
|
enterShell = ''
|
|
export CLAUDE_CONFIG_DIR="$(pwd)/.claude-account"
|
|
'';
|
|
}
|