dimensionalOS / dimensionalOS/dimos
rust pre-commit hook always fails due to dim_slam flake
Open
Beginner friendly
Nobody has claimed this yet.
bug
rust
- Dominant language
- Python
- Stars
- 4.5k
- Forks
- 808
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 233
Description
The cargo-clippy pre-commit hook fails on main for any commit that stages a Rust file.
Reproduce
git checkout main
touch native/rust/dimos-module/src/lib.rs # any staged .rs file
git commit -am "test"
error: flake 'path:.../dimos/mapping/dim_slam/rust' does not provide attribute
'devShells.x86_64-linux.default', 'devShell.x86_64-linux',
'packages.x86_64-linux.default' or 'defaultPackage.x86_64-linux'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with the shown staged native/rust/dimos-module/src/lib.rs file and inspect the cargo-clippy pre-commit hook configuration. Then inspect the dim_slam/rust flake entry point referenced in the error and verify that the hook resolves it correctly; done means commits staging Rust files pass the hook.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100