mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 15:08:24 +00:00
fix: add workspace.metadata.crane.name to silence crane warnings
When users import the ngit-grasp flake into their NixOS configurations, crane emits warnings about not being able to find the package name in the workspace Cargo.toml. This adds the recommended workspace.metadata section to explicitly specify the crane package name for the workspace. Fixes the warning: evaluation warning: crane will use a placeholder value since name cannot be found in /nix/store/.../Cargo.toml This is a cosmetic fix that doesn't affect functionality but improves the user experience when importing the flake.
This commit is contained in:
@@ -79,3 +79,6 @@ path = "src/main.rs"
|
||||
|
||||
[workspace]
|
||||
members = [".", "grasp-audit"]
|
||||
|
||||
[workspace.metadata.crane]
|
||||
name = "ngit-grasp"
|
||||
|
||||
Reference in New Issue
Block a user