claudia/shell.nix
Mark Ruvald Pedersen 84e8e90f50 fix(rust): resolve edition2024 dependency issue and compilation errors
- Pin image crate to 0.25.1 to avoid edition2024 requirement from moxcms
- Add missing installation_type field to ClaudeInstallation struct
- Update Cargo.lock with compatible dependencies

The moxcms-0.7.6 crate requires edition2024 which is not available in
stable Rust 1.82. Pinning the image crate to 0.25.1 avoids this
dependency while maintaining functionality.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 14:13:30 +05:30

40 lines
624 B
Nix

{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = with pkgs; [
# Core development tools
just
git
# Node.js/Bun toolchain
bun
nodejs
# Rust toolchain
rustc
cargo
rustfmt
clippy
# System dependencies for Tauri development
pkg-config
webkitgtk_4_1
gtk3
cairo
gdk-pixbuf
glib
dbus
openssl
librsvg
libsoup_3
libayatana-appindicator
# Development utilities
curl
wget
jq
];
# Environment variables for development
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}