photoncloud-monorepo/iam/crates/iam-api/build.rs
centra 8f94aee1fa Fix R8: Convert submodule gitlinks to regular directories
- Remove gitlinks (160000 mode) for chainfire, flaredb, iam
- Add workspace contents as regular tracked files
- Update flake.nix to use simple paths instead of builtins.fetchGit

This resolves the nix build failure where submodule directories
appeared empty in the nix store.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-09 16:51:20 +09:00

11 lines
304 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
let proto = "../../proto/iam.proto";
tonic_build::configure()
.build_server(true)
.build_client(true)
.compile(&[proto], &["../../proto"])?;
println!("cargo:rerun-if-changed=../../proto/iam.proto");
Ok(())
}