Files
oh-my-pi/nix/dev-shell.nix
T
can1357 1132c3e31c feat: implemented anthropic keep-alive and migration support for updates
- Added Anthropic prompt-cache refresh scheduling and state management to keep prompts warm across idle sessions.
- Updated pricing models and database stats tracking to calculate and store cost-weighted cache savings.
- Integrated cache savings metrics and efficiency displays into the stats CLI, dashboard routes, and UI components.
- Added support for package renaming, manifest pointer tracking, and installation migration during CLI updates.
2026-08-13 04:59:33 +02:00

73 lines
1.3 KiB
Nix

{
pkgs,
rustToolchain,
}:
let
inherit (pkgs) lib;
linuxLibraries = with pkgs; [
libpulseaudio
pipewire
stdenv.cc.cc.lib
zlib
];
in
pkgs.mkShell (
{
name = "omp-dev";
packages =
(with pkgs; [
bun
bun2nix
rustToolchain
cargo-nextest
rustPlatform.bindgenHook
nixfmt
typescript-language-server
python312
python312Packages.pip
uv
basedpyright
bash
cacert
curl
fd
git
git-lfs
imagemagick
openssh
ripgrep
sqlite
unzip
cmake
ninja
pkg-config
zig
cairo
giflib
libjpeg
libopus
librsvg
openssl
pango
pcre2
zlib
])
++ lib.optionals pkgs.stdenv.hostPlatform.isLinux linuxLibraries;
CMAKE_POLICY_VERSION_MINIMUM = "3.5";
# Bazel's downloaded host tools assume an FHS loader; Cargo is the
# repository's supported local-iteration path inside the Nix shell.
OMP_NATIVE_BUILD_BACKEND = "cargo";
PCRE2_SYS_STATIC = "1";
RUST_SRC_PATH = "${rustToolchain}/lib/rustlib/src/rust/library";
}
// lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
LD_LIBRARY_PATH = lib.makeLibraryPath linuxLibraries;
}
)