Skip to content

Commit

Permalink
fix: cargo docs breaking in buildDepsOnly of workspaces
Browse files Browse the repository at this point in the history
Fix #312
  • Loading branch information
dpc committed Oct 2, 2023
1 parent 7fde5aa commit 335a426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mkDummySrc.nix
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ let
'' + optionalString (trimmedCargoToml ? package) ''
# To build regular and dev dependencies (cargo build + cargo test)
${cpDummy parentDir "src/lib.rs"}
${cpDummy parentDir "src/bin/crane-dummy/main.rs"}
${cpDummy parentDir "src/bin/crane-dummy-${trimmedCargoToml.package.name or "no-name"}/main.rs"}
# Stub all other targets in case they have particular feature combinations
${safeStubLib}
Expand Down

0 comments on commit 335a426

Please sign in to comment.